Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea4e537a authored by Chris Wilson's avatar Chris Wilson
Browse files

dma-buf: Use %zu for printing sizeof



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

Reported-by: default avatar <kbuild-all@01.org>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190819195740.27608-1-chris@chris-wilson.co.uk
parent 01b45d3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 |