Commit 7907a02
scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq
irqs allocated with devm_request_irq() should not be freed using
free_irq(). Doing so causes a dangling pointer and a subsequent double
free.
Link: https://lore.kernel.org/r/20210519130519.2661938-1-yangyingliang@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent e662502 commit 7907a02
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4811 | 4811 | | |
4812 | 4812 | | |
4813 | 4813 | | |
4814 | | - | |
4815 | | - | |
4816 | | - | |
| 4814 | + | |
| 4815 | + | |
| 4816 | + | |
4817 | 4817 | | |
4818 | 4818 | | |
4819 | 4819 | | |
4820 | 4820 | | |
4821 | | - | |
| 4821 | + | |
4822 | 4822 | | |
4823 | 4823 | | |
4824 | 4824 | | |
| |||
0 commit comments