From: Chris Wilson Date: Mon, 19 Aug 2019 19:57:40 +0000 (+0100) Subject: dma-buf: Use %zu for printing sizeof X-Git-Tag: v5.4-rc1~32^2~10^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea4e537ae149b468963bf500cfb0a99f8df4b3e7;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20190819195740.27608-1-chris@chris-wilson.co.uk --- diff --git a/drivers/dma-buf/st-dma-fence.c b/drivers/dma-buf/st-dma-fence.c index 3d69405..6fbae6b 100644 --- a/drivers/dma-buf/st-dma-fence.c +++ b/drivers/dma-buf/st-dma-fence.c @@ -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 |