projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee69ab7
)
[SCSI] zfcp: fix return code of zfcp_scsi_slave_alloc
author
Andreas Herrmann
<aherrman@de.ibm.com>
Thu, 1 Dec 2005 01:49:29 +0000
(
02:49
+0100)
committer
James Bottomley
<jejb@mulgrave.(none)>
Thu, 1 Dec 2005 21:59:49 +0000
(15:59 -0600)
Change return code in slave_alloc to avoid irritating error message from
scsi_alloc_sdev() when scsi stack tries target scan.
Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_scsi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/scsi/zfcp_scsi.c
b/drivers/s390/scsi/zfcp_scsi.c
index 3dcd1bfba3b4862835bb1eab8d4542dec8a9409a..66608d13a63497b40c4b6002bfad94d30c014728 100644
(file)
--- a/
drivers/s390/scsi/zfcp_scsi.c
+++ b/
drivers/s390/scsi/zfcp_scsi.c
@@
-179,7
+179,7
@@
zfcp_scsi_slave_alloc(struct scsi_device *sdp)
struct zfcp_adapter *adapter;
struct zfcp_unit *unit;
unsigned long flags;
- int retval = -EN
ODEV
;
+ int retval = -EN
XIO
;
adapter = (struct zfcp_adapter *) sdp->host->hostdata[0];
if (!adapter)