aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <[email protected]>2020-03-10 13:22:57 +0000
committerGreg Kroah-Hartman <[email protected]>2020-03-19 07:41:03 +0100
commitba2bb5f78922fbcc32d047614d94f77b81584c6d (patch)
tree826855c30cea47127f2f52608f2cd7083fa37367 /tools/perf/scripts/python/exported-sql-viewer.py
parent49d37c6b09e19af59ed941722d830eb50faa3fcf (diff)
nvmem: jz4780-efuse: fix build warnings on ARCH=x86_64 or riscv
kbuild-robot did find a type error in the min(a, b) function used by this driver if built for x86_64 or riscv. Althought it is very unlikely that this driver is built for those platforms it could be used as a template for something else and therefore should be correct. The problem is that we implicitly cast a size_t to unsigned int inside the implementation of the min() function. Since size_t may differ on different compilers and plaforms there may be warnings or not. So let's use only size_t variables on all platforms. Reported-by: kbuild test robot <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: H. Nikolaus Schaller <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions