summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2019-11-28 17:55:49 +0300
committerLi Yang <leoyang.li@nxp.com>2019-12-09 22:57:45 +0300
commitbe2e9415f8b366abbe786b703436bfedf2012c21 (patch)
treedffd14b627e76666d5e14d619131b1a819e2bcbc /tools/perf/scripts/python/exported-sql-viewer.py
parentc93c159aefb089e79def966b99079b585c9108e2 (diff)
downloadlinux-be2e9415f8b366abbe786b703436bfedf2012c21.tar.xz
net/wan/fsl_ucc_hdlc: avoid use of IS_ERR_VALUE()
When building this on a 64-bit platform gcc rightly warns that the error checking is broken (-ENOMEM stored in an u32 does not compare greater than (unsigned long)-MAX_ERRNO). Instead, now that qe_muram_alloc() returns s32, use that type to store the return value and use standard kernel style "ret < 0". Reviewed-by: Timur Tabi <timur@kernel.org> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions