hpsa: move lockup_detected attribute to host attr
Subsystems (2)
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.
Signed-off-by Tomas Henzl <[email protected]>
Signed-off-by Don Brace <[email protected]>
--- drivers/scsi/hpsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/hpsa.c +1 -1
@@ -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
Quoted 22 lines · Tomas Henzl
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]>Signed-off-by Don Brace <[email protected]>--- drivers/scsi/hpsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/scsi/hpsa.c +0
-1@@ -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, };
Signed-off-by Don Brace <[email protected]>
Martin K. Petersen
AppliedQuoted 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