aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorMa Ke <[email protected]>2024-07-22 22:18:22 +0800
committerMark Brown <[email protected]>2024-08-14 18:26:49 +0100
commitf1011ba20b83da3ee70dcb4a6d9d282a718916fa (patch)
tree554d68cd5fac9e6f2c9e53dd693bee4658f2fa01 /scripts/gdb/linux/vmalloc.py
parent1c4d834e4e81637995b079fdb64fad4c32af15c8 (diff)
spi: ppc4xx: handle irq_of_parse_and_map() errors
Zero and negative number is not a valid IRQ for in-kernel code and the irq_of_parse_and_map() function returns zero on error. So this check for valid IRQs should only accept values > 0. Fixes: 44dab88e7cc9 ("spi: add spi_ppc4xx driver") Signed-off-by: Ma Ke <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions