Unverified Commit b1c17765 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!4524 fix spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were detected

Merge Pull Request from: @slim6882 
 
Return IRQ_NONE from the interrupt handler when no interrupt was
detected. Because an empty interrupt will cause a null pointer error:

Unable to handle kernel NULL pointer dereference at virtual
address 0000000000000008
Call trace:
complete+0x54/0x100
hisi_sfc_v3xx_isr+0x2c/0x40 [spi_hisi_sfc_v3xx]
__handle_irq_event_percpu+0x64/0x1e0
handle_irq_event+0x7c/0x1cc
 
 
Link:https://gitee.com/openeuler/kernel/pulls/4524

 

Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents a93c31a2 68ded447
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment