Commit 1315da30 authored by Moger, Babu's avatar Moger, Babu Committed by James Bottomley

[SCSI] scsi_dh_rdac : minor return fix for rdac

Signed-off-by: default avatarBabu Moger <babu.moger@netapp.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 35204772
...@@ -853,7 +853,7 @@ static int rdac_bus_attach(struct scsi_device *sdev) ...@@ -853,7 +853,7 @@ static int rdac_bus_attach(struct scsi_device *sdev)
if (!scsi_dh_data) { if (!scsi_dh_data) {
sdev_printk(KERN_ERR, sdev, "%s: Attach failed\n", sdev_printk(KERN_ERR, sdev, "%s: Attach failed\n",
RDAC_NAME); RDAC_NAME);
return 0; return -ENOMEM;
} }
scsi_dh_data->scsi_dh = &rdac_dh; scsi_dh_data->scsi_dh = &rdac_dh;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment