summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-08-03 14:50:48 +0300
committerRob Clark <robdclark@gmail.com>2017-11-01 18:16:28 +0300
commit39ae0d3e561d360e41f2a3d1c427d5d9142468da (patch)
tree244bc9d1c21ffa78903f78a839aed70024e1a5de /tools/perf/scripts/python/call-graph-from-sql.py
parent18075d0d4849c670a09ec2056a4fecb994c6ee3e (diff)
downloadlinux-39ae0d3e561d360e41f2a3d1c427d5d9142468da.tar.xz
drm/msm: use %z format modifier for printing size_t
The return type of ARRAY_SIZE() is size_t, so we have to use %zu instead of %lu to avoid this warning: drivers/gpu/drm/msm/msm_gpu.c: In function 'msm_gpu_init': drivers/gpu/drm/msm/msm_gpu.c:742:31: error: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'unsigned int' [-Werror=format=] The warning it otherwise harmless as size_t is always the same size as unsigned long in all supported architectures, but gcc doesn't know that. Fixes: c2fceabca6d5 ("drm/msm: Support multiple ringbuffers") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions