projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scsi: hisi_sas: Replace with standard error code return value
[linux-2.6-microblaze.git]
/
drivers
/
scsi
/
hisi_sas
/
hisi_sas_v3_hw.c
diff --git
a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
index
f3eb5cd
..
af2cc08
100644
(file)
--- a/
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
+++ b/
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
@@
-5018,7
+5018,7
@@
static int _suspend_v3_hw(struct device *device)
}
if (test_and_set_bit(HISI_SAS_RESETTING_BIT, &hisi_hba->flags))
- return -
1
;
+ return -
EPERM
;
dev_warn(dev, "entering suspend state\n");