Message ID | 1441642489-5036-1-git-send-email-thenzl@redhat.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
> -----Original Message----- > From: Tomas Henzl [mailto:thenzl@redhat.com] > Sent: Monday, September 07, 2015 11:15 AM > To: linux-scsi@vger.kernel.org > Cc: Don Brace; Justin Lindley; elliott@hp.com; Kevin Barnett; Scott Teel; > hch@infradead.org > Subject: [PATCH] hpsa: move lockup_detected attribute to host attr > > This patch fixes a 'general protection fault' issue by > moving the attribute to where it was likely meant. > > Signed-off-by: Tomas Henzl <thenzl@redhat.com> > --- > drivers/scsi/hpsa.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c > index 40669f8dd0..0f96bf1082 100644 > --- a/drivers/scsi/hpsa.c > +++ b/drivers/scsi/hpsa.c > @@ -848,7 +848,6 @@ static struct device_attribute *hpsa_sdev_attrs[] = { > &dev_attr_unique_id, > &dev_attr_hp_ssd_smart_path_enabled, > &dev_attr_path_info, > - &dev_attr_lockup_detected, > NULL, > }; > > @@ -860,6 +859,7 @@ static struct device_attribute *hpsa_shost_attrs[] = { > &dev_attr_resettable, > &dev_attr_hp_ssd_smart_path_status, > &dev_attr_raid_offload_debug, > + &dev_attr_lockup_detected, > NULL, > }; > > -- > 2.4.3 Signed-off-by: Don Brace <don.brace@pmcs.com> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 40669f8dd0..0f96bf1082 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -848,7 +848,6 @@ static struct device_attribute *hpsa_sdev_attrs[] = { &dev_attr_unique_id, &dev_attr_hp_ssd_smart_path_enabled, &dev_attr_path_info, - &dev_attr_lockup_detected, NULL, }; @@ -860,6 +859,7 @@ static struct device_attribute *hpsa_shost_attrs[] = { &dev_attr_resettable, &dev_attr_hp_ssd_smart_path_status, &dev_attr_raid_offload_debug, + &dev_attr_lockup_detected, NULL, };
This patch fixes a 'general protection fault' issue by moving the attribute to where it was likely meant. Signed-off-by: Tomas Henzl <thenzl@redhat.com> --- drivers/scsi/hpsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)