dma-buf: Use %zu for printing sizeof

Use the %zu format specifier for a size_t returned by sizeof.

Reported-by: kbuild-all@01.org
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190819195740.27608-1-chris@chris-wilson.co.uk
This commit is contained in:
Chris Wilson 2019-08-19 20:57:40 +01:00
parent 01b45d3c8f
commit ea4e537ae1
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ int dma_fence(void)
};
int ret;
pr_info("sizeof(dma_fence)=%lu\n", sizeof(struct dma_fence));
pr_info("sizeof(dma_fence)=%zu\n", sizeof(struct dma_fence));
slab_fences = KMEM_CACHE(mock_fence,
SLAB_TYPESAFE_BY_RCU |