aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2021-11-24 11:24:38 +0000
committerMauro Carvalho Chehab <[email protected]>2021-11-29 13:23:14 +0100
commit12c762e087a064ff40854ff7da86dd9f49084cc1 (patch)
tree0e136d1e09b9bb3fd1bb239d1c8cc844bece229e /tools/perf/scripts/python/flamegraph.py
parent02d6276f10082a6b1277fbd8a9909929cabf759e (diff)
media: si470x: fix printk warnings with clang
Clang doesn't like "%hu" on macros: drivers/media/radio/si470x/radio-si470x-i2c.c:414:4: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat] drivers/media/radio/si470x/radio-si470x-i2c.c:417:4: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat] Besides that, changeset cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of unnecessary %h[xudi] and %hh[xudi]") dropped recomendation of using %h. So, just replace them with "%u". Reviewed-by: Nathan Chancellor <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions