Commit 2309df2
scsi: megaraid_sas: Fix crash after a double completion
When a physical disk is attached directly "without JBOD MAP support" (see
megasas_get_tm_devhandle()) then there is no real error handling in the
driver. Return FAILED instead of SUCCESS.
Fixes: 18365b1 ("megaraid_sas: Task management support")
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20230324150134.14696-1-thenzl@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 0808ed6 commit 2309df2
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4771 | 4771 | | |
4772 | 4772 | | |
4773 | 4773 | | |
4774 | | - | |
| 4774 | + | |
4775 | 4775 | | |
4776 | 4776 | | |
4777 | 4777 | | |
| |||
4841 | 4841 | | |
4842 | 4842 | | |
4843 | 4843 | | |
4844 | | - | |
| 4844 | + | |
4845 | 4845 | | |
4846 | 4846 | | |
4847 | 4847 | | |
| |||
0 commit comments