diff options
author | Moger, Babu <Babu.Moger@netapp.com> | 2012-09-04 13:13:18 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 04:11:03 -0400 |
commit | 1315da30daaf8f4b1207cc78b67ff0dc55bc447b (patch) | |
tree | dbe5c03afcfec0acda4b1c411c826748701513d0 /drivers/scsi | |
parent | 35204772ea034b380bc9d8942699dc03898e5c13 (diff) |
[SCSI] scsi_dh_rdac : minor return fix for rdac
Signed-off-by: Babu Moger <babu.moger@netapp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/device_handler/scsi_dh_rdac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/device_handler/scsi_dh_rdac.c b/drivers/scsi/device_handler/scsi_dh_rdac.c index a44676ce1a0d..69c915aa77c2 100644 --- a/drivers/scsi/device_handler/scsi_dh_rdac.c +++ b/drivers/scsi/device_handler/scsi_dh_rdac.c | |||
@@ -853,7 +853,7 @@ static int rdac_bus_attach(struct scsi_device *sdev) | |||
853 | if (!scsi_dh_data) { | 853 | if (!scsi_dh_data) { |
854 | sdev_printk(KERN_ERR, sdev, "%s: Attach failed\n", | 854 | sdev_printk(KERN_ERR, sdev, "%s: Attach failed\n", |
855 | RDAC_NAME); | 855 | RDAC_NAME); |
856 | return 0; | 856 | return -ENOMEM; |
857 | } | 857 | } |
858 | 858 | ||
859 | scsi_dh_data->scsi_dh = &rdac_dh; | 859 | scsi_dh_data->scsi_dh = &rdac_dh; |