Skip to contentSkip to conversation

hpsa: move lockup_detected attribute to host attr

PATCH RESEND Applied Tomas Henzl 3 participants 3 messages Nov 6, 2015 – Nov 9, 2015

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

PATCH RESEND 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 57166e68fc..6d4412359d 100644
@@ -867,7 +867,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,
 };
 
@@ -879,6 +878,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 22 lines · Tomas Henzl

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 +0 -1
index 57166e68fc..6d4412359d 100644
@@ -867,7 +867,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,
  };
 

drivers/scsi/hpsa.c static struct device_attribute *hpsa_shost_attrs[] = { · line 884

Quoted 7 lines
drivers/scsi/hpsa.c +1 -0
@@ -879,6 +878,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 lore raw
In reply to Tomas Henzl
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Tomas" == Tomas Henzl <[email protected]> writes:

Tomas> This patch fixes a 'general protection fault' issue by moving the Tomas> attribute to where it was likely meant.

Applied.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering