hpsa: move lockup_detected attribute to host attr
Subsystems (2)
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.
Signed-off-by Tomas Henzl <[email protected]>
--- drivers/scsi/hpsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/hpsa.c +1 -1
@@ -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
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: movelockup_detectedattribute to host attrThis patch fixes a 'general protection fault' issue by moving the attribute to where it was likely meant.
Signed-off-by Tomas Henzl <[email protected]>--- drivers/scsi/hpsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/scsi/hpsa.c +1
-2@@ -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
Signed-off-by Don Brace <[email protected]>