]> git.baikalelectronics.ru Git - kernel.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)
committerEric Anholt <eric@anholt.net>
Fri, 3 Nov 2017 17:15:42 +0000 (10:15 -0700)
commitee314dfd91e2e1cd98b7877a3086392f71d824aa
tree9318866ac0653a00aa7e1628e3c1addb62f1b330
parent13b7be2871e0f1a0e48a9686519b97f26cd168f2
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: 8943349f4512 ("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
(cherry picked from commit 50f365cde4ffb5ae70c3f02384bbb46698aba65c)
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_bo.c