]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/vc4: Fix wrong printk format in vc4_bo_stats_debugfs()
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 1 Nov 2017 09:57:31 +0000 (10:57 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 2 Nov 2017 10:43:44 +0000 (11:43 +0100)
commit50f365cde4ffb5ae70c3f02384bbb46698aba65c
tree7480f8faf54caf97dd669f1b27b2bcc4fb97bcc4
parent7fb50b957be10e631f649eca8bd66a0b89795149
drm/vc4: Fix wrong printk format in vc4_bo_stats_debugfs()

vc4->purgeable.size and vc4->purgeable.purged_size are size_t fields
and should be printed with a %zd specifier.

Fixes: b9f19259b84d ("drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl")
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20171101095731.14878-1-boris.brezillon@free-electrons.com
drivers/gpu/drm/vc4/vc4_bo.c