diff options
author | Jackie Liu <[email protected]> | 2021-09-01 20:35:57 +0800 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2021-09-15 09:45:49 +0200 |
commit | 2aa717473ce96c93ae43a5dc8c23cedc8ce7dd9f (patch) | |
tree | 45432dcb0d78f14732277d4300fc1e300210a64f /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) |
ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
The s3c24xx_init_intc() returns an error pointer upon failure, not NULL.
let's add an error pointer check in s3c24xx_handle_irq.
s3c_intc[0] is not NULL or ERR, we can simplify the code.
Fixes: 1f629b7a3ced ("ARM: S3C24XX: transform irq handling into a declarative form")
Signed-off-by: Jackie Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions