Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Moger, Babu and committed by
James Bottomley
1315da30 35204772

+1 -1
+1 -1
drivers/scsi/device_handler/scsi_dh_rdac.c
··· 853 853 if (!scsi_dh_data) { 854 854 sdev_printk(KERN_ERR, sdev, "%s: Attach failed\n", 855 855 RDAC_NAME); 856 - return 0; 856 + return -ENOMEM; 857 857 } 858 858 859 859 scsi_dh_data->scsi_dh = &rdac_dh;