* [PATCH] scsi_transport_sas.c - make write attrs link_reset and hard_reset writeable
@ 2006-05-18 0:19 Eric Moore
0 siblings, 0 replies; only message in thread
From: Eric Moore @ 2006-05-18 0:19 UTC (permalink / raw)
To: linux-scsi; +Cc: James.Bottomley
A couple write attributes in sas transport layer have a small
bug that prevents them from being written to. Those
attributes are the link_reset and write_reset. This is due
the store field being set to NULL.
Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
--- b/drivers/scsi/scsi_transport_sas.c 2006-05-16 15:10:30.000000000 -0600
+++ a/drivers/scsi/scsi_transport_sas.c 2006-05-17 18:07:33.000000000 -0600
@@ -977,7 +977,6 @@
#define SETUP_TEMPLATE(attrb, field, perm, test) \
i->private_##attrb[count] = class_device_attr_##field; \
i->private_##attrb[count].attr.mode = perm; \
- i->private_##attrb[count].store = NULL; \
i->attrb[count] = &i->private_##attrb[count]; \
if (test) \
count++
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-18 0:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 0:19 [PATCH] scsi_transport_sas.c - make write attrs link_reset and hard_reset writeable Eric Moore
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.