summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2020-07-09 09:35:07 +0300
committerJoel Stanley <joel@jms.id.au>2020-08-06 03:30:34 +0300
commitfa5c176a0f0cb681a1a92dc1287e60a96b5fc298 (patch)
tree283d4633b9a5ff5e8d34a265cd6ad516c4aa4280 /tools/perf/scripts/python/stackcollapse.py
parenta6f50f1aeb50cc92756a720b2bc42516d482ea5a (diff)
downloadlinux-fa5c176a0f0cb681a1a92dc1287e60a96b5fc298.tar.xz
soc: aspeed-lpc-ctrl: Fix printf warning
>> drivers/soc/aspeed/aspeed-lpc-ctrl.c:247:17: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=] Documentation/core-api/printk-formats.rst suggests %pa should work for resouce_size_t, but it did not: %pa[p] 0x01234567 or 0x0123456789abcdef For printing a phys_addr_t type (and its derivatives, such as resource_size_t) which can vary based on build options, regardless of the width of the CPU data path. Instead cast to an integer which works as all aspeed processors are 32-bit. OpenBMC-Staging-Count: 2 Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions