Skip to content

Commit

Permalink
[SCSI] scsi_dh_rdac : minor return fix for rdac
Browse files Browse the repository at this point in the history
Signed-off-by: Babu Moger <babu.moger@netapp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
  • Loading branch information
Moger, Babu authored and James Bottomley committed Sep 24, 2012
1 parent 3520477 commit 1315da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/device_handler/scsi_dh_rdac.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ static int rdac_bus_attach(struct scsi_device *sdev)
if (!scsi_dh_data) {
sdev_printk(KERN_ERR, sdev, "%s: Attach failed\n",
RDAC_NAME);
return 0;
return -ENOMEM;
}

scsi_dh_data->scsi_dh = &rdac_dh;
Expand Down

0 comments on commit 1315da3

Please sign in to comment.