summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-08-19 21:57:40 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2019-08-20 11:13:42 +0200
commitea4e537ae149b468963bf500cfb0a99f8df4b3e7 (patch)
tree6333e0be88014ec271e6fd635b148c3824fe1933 /drivers/dma-buf
parentdw-hdmi-cec: use cec_notifier_cec_adap_(un)register (diff)
downloadlinux-ea4e537ae149b468963bf500cfb0a99f8df4b3e7.tar.xz
linux-ea4e537ae149b468963bf500cfb0a99f8df4b3e7.zip
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
Diffstat (limited to 'drivers/dma-buf')
-rw-r--r--drivers/dma-buf/st-dma-fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma-buf/st-dma-fence.c b/drivers/dma-buf/st-dma-fence.c
index 3d69405952aa..6fbae6bf6576 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 |