[PATCH 1/2] scsi_dh_rdac : minor return fix for rdac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Minor return fix.

Signed-off-by: Babu Moger <babu.moger@xxxxxxxxxx>
---
--- linux-3.6-rc1/drivers/scsi/device_handler/scsi_dh_rdac.c.orig	2012-09-04 12:13:40.000000000 -0500
+++ linux-3.6-rc1/drivers/scsi/device_handler/scsi_dh_rdac.c	2012-09-04 12:15:26.000000000 -0500
@@ -863,7 +863,7 @@ static int rdac_bus_attach(struct scsi_d
 	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;


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux