aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2020-08-27 09:07:42 +0200
committerBorislav Petkov <[email protected]>2020-09-01 20:41:27 +0200
commitafce6996943be265fa39240b67025cfcb1bcdfb1 (patch)
treee83dd5b58a5ef96fe3062547e2da260fccfcfe81 /tools/perf/scripts/python/exported-sql-viewer.py
parent857a3139bd8be4f702c030c8ca06f3fd69c1741a (diff)
EDAC/aspeed: Fix handling of platform_get_irq() error
platform_get_irq() returns a negative error number on error. In such a case, comparison to 0 would pass the check therefore check the return value properly, whether it is negative. [ bp: Massage commit message. ] Fixes: 9b7e6242ee4e ("EDAC, aspeed: Add an Aspeed AST2500 EDAC driver") Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Stefan Schaeckeler <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions