aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2022-05-29 16:12:50 +0200
committerMark Brown <[email protected]>2022-05-30 16:08:33 +0200
commitd6f8168e4345cb00156743c19dc1a409126936e1 (patch)
tree1110623eee22b7a2e8c4919527101c0fe7374ca5 /tools/perf/scripts/python/stat-cpi.py
parent5fa66f29937eb806997a4d1d3edd360ef4e93db9 (diff)
ASoC: Intel: avs: Fix build error on arc, m68k and sparc
On some platforms (i.e. arc, m68k and sparc) __fls returns an int (while on most platforms it returns an unsigned long). This triggers a format warning on these few platforms as the driver uses %ld to print a warning. So explicitly cast the return value to unsigned long to make the warning go away (and so fix allmodconfig build on the affected architectures). Fixes: beed983621fb ("ASoC: Intel: avs: Machine board registration") Reviewed-by: Cezary Rojewski <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions