Skip to contentSkip to conversation

hpsa: move lockup_detected attribute to host attr

PATCH Superseded Tomas Henzl 2 participants 2 messages Sep 7, 2015 – Sep 8, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/scsi/hpsa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/hpsa.c +1 -1
index 40669f8dd0..0f96bf1082 100644
@@ -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,
 };
 
Signature · 1 line
2.4.3
#1 lore raw
Quoted 37 lines

-----Original Message-----
From: Tomas Henzl [mailto:[email protected]]
Sent: Monday, September 07, 2015 11:15 AM
To: [email protected]
Cc: Don Brace; Justin Lindley; [email protected]; Kevin Barnett; Scott Teel; [email protected]
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.

---
 drivers/scsi/hpsa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/hpsa.c +1 -2
index 40669f8dd0..0f96bf1082 100644
@@ -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,
 };
 
--
Quoted 1 line

2.4.3