hpsa: move lockup_detected attribute to host attr
authorTomas Henzl <thenzl@redhat.com>
Fri, 6 Nov 2015 15:24:09 +0000 (16:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Nov 2015 17:43:58 +0000 (12:43 -0500)
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>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c

index 57166e68fc92b657f18a3ad60d6f932528fb193c..6d4412359d2392357602e4a7fd0def79c1e98363 100644 (file)
@@ -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,
 };