public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ipr: Rename ipr's state scsi host attribute to prevent collisions
@ 2008-04-28 22:36 Brian King
  0 siblings, 0 replies; 4+ messages in thread
From: Brian King @ 2008-04-28 22:36 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, thlin, wayneb, pbadari, brking


Due to recent SCSI core changes which add a scsi host attribute
named "state", this now collides with an ipr driver scsi host attribute
with the same name, preventing ipr from loading. Rename the ipr driver
attribute to be more specific.


Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
---

 linux-2.6-bjking1/drivers/scsi/ipr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/scsi/ipr.c~ipr_host_state_rename drivers/scsi/ipr.c
--- linux-2.6/drivers/scsi/ipr.c~ipr_host_state_rename	2008-04-28 17:30:54.000000000 -0500
+++ linux-2.6-bjking1/drivers/scsi/ipr.c	2008-04-28 17:31:21.000000000 -0500
@@ -2791,7 +2791,7 @@ static ssize_t ipr_store_adapter_state(s
 
 static struct device_attribute ipr_ioa_state_attr = {
 	.attr = {
-		.name =		"state",
+		.name =		"online_state",
 		.mode =		S_IRUGO | S_IWUSR,
 	},
 	.show = ipr_show_adapter_state,
_

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-02 15:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <12094221802009-patch-mail.ibm.com>
2008-04-28 22:47 ` [PATCH 1/1] ipr: Rename ipr's state scsi host attribute to prevent collisions Badari Pulavarty
2008-04-28 22:50 ` James Bottomley
2008-05-02 15:49 ` 2.6.25-git18 ipr panic (was [PATCH 1/1] ipr: Rename ipr's state scsi host attribute to prevent collisions) Badari Pulavarty
2008-04-28 22:36 [PATCH 1/1] ipr: Rename ipr's state scsi host attribute to prevent collisions Brian King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox