projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4e8708
)
scsi: aacraid: Do not attempt abort when Fw panicked
author
Raghava Aditya Renukunta
<
[email protected]
>
Wed, 27 Dec 2017 04:34:23 +0000
(20:34 -0800)
committer
Martin K. Petersen
<
[email protected]
>
Thu, 4 Jan 2018 04:26:41 +0000
(23:26 -0500)
Check if the adapter can receive abort requests, before sending aborts
Signed-off-by: Raghava Aditya Renukunta <
[email protected]
>
Signed-off-by: Martin K. Petersen <
[email protected]
>
drivers/scsi/aacraid/linit.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/aacraid/linit.c
b/drivers/scsi/aacraid/linit.c
index 3677beff9c17294159fa6cf77da3422eac212083..5eb07223087bdea970234beaabe44cf430c635ff 100644
(file)
--- a/
drivers/scsi/aacraid/linit.c
+++ b/
drivers/scsi/aacraid/linit.c
@@
-683,6
+683,9
@@
static int aac_eh_abort(struct scsi_cmnd* cmd)
u32 bus, cid;
int ret = FAILED;
+ if (aac_adapter_check_health(aac))
+ return ret;
+
bus = aac_logical_to_phys(scmd_channel(cmd));
cid = scmd_id(cmd);
if (aac->hba_map[bus][cid].devtype == AAC_DEVTYPE_NATIVE_RAW) {