diff options
author | Tomas Henzl <thenzl@redhat.com> | 2023-03-24 16:01:34 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 20:58:29 -0400 |
commit | 2309df27111a51734cb9240b4d3c25f2f3c6ab06 (patch) | |
tree | cf690b571e450c22f951d664536f2eef4975247c /drivers/scsi/scsi.c | |
parent | 0808ed6ebbc292222ca069d339744870f6d801da (diff) | |
download | lwn-2309df27111a51734cb9240b4d3c25f2f3c6ab06.tar.gz lwn-2309df27111a51734cb9240b4d3c25f2f3c6ab06.zip |
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: 18365b138508 ("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>
Diffstat (limited to 'drivers/scsi/scsi.c')
0 files changed, 0 insertions, 0 deletions