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:43 +0200
committerBorislav Petkov <[email protected]>2020-09-01 20:43:20 +0200
commit66077adb70a2a9e92540155b2ace33ec98299c90 (patch)
treee6dc22c8da87b401129f0708454c59656a0381d7 /tools/perf/scripts/python/exported-sql-viewer.py
parentafce6996943be265fa39240b67025cfcb1bcdfb1 (diff)
EDAC/ti: 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: 86a18ee21e5e ("EDAC, ti: Add support for TI keystone and DRA7xx EDAC") Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Tero Kristo <[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