FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 09-04-2012, 05:03 PM
"Moger, Babu"
 
Default scsi_dh_rdac : minor return fix for rdac

Minor return fix.

Signed-off-by: Babu Moger <babu.moger@netapp.com>
---
--- 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
",
RDAC_NAME);
- return 0;
+ return -ENOMEM;
}

scsi_dh_data->scsi_dh = &rdac_dh;



--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 09-04-2012, 05:13 PM
"Moger, Babu"
 
Default scsi_dh_rdac : minor return fix for rdac

Resending with correct subject line. This is patch 1/1.

Minor return fix.

Signed-off-by: Babu Moger <babu.moger@netapp.com>
---
--- 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
",
RDAC_NAME);
- return 0;
+ return -ENOMEM;
}

scsi_dh_data->scsi_dh = &rdac_dh;



--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 08:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org