Re: [PATCH] drm/vc4: use %z format string for size_t

2017-11-02 Thread Boris Brezillon
Hi Arnd, On Thu, 2 Nov 2017 12:20:43 +0100 Arnd Bergmann wrote: > Printing a size_t variable needs to use the %z format string modifier > rather than %l, otherwise we get this warning on 64-bit architectures: > > drivers/gpu/drm/vc4/vc4_bo.c: In function 'vc4_bo_stats_debugfs':

[PATCH] drm/vc4: use %z format string for size_t

2017-11-02 Thread Arnd Bergmann
Printing a size_t variable needs to use the %z format string modifier rather than %l, otherwise we get this warning on 64-bit architectures: drivers/gpu/drm/vc4/vc4_bo.c: In function 'vc4_bo_stats_debugfs': drivers/gpu/drm/vc4/vc4_bo.c:91:26: error: format '%d' expects argument of type 'int',