]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
hpsa: move lockup_detected attribute to host attr
authorTomas Henzl <thenzl@redhat.com>
Fri, 6 Nov 2015 15:24:09 +0000 (16:24 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 16 Mar 2016 14:50:40 +0000 (07:50 -0700)
This patch fixes a 'general protection fault' issue by
moving the attribute to where it was likely meant.

Orabug: 22930824

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>
Mainline v4.4 commit fb53c439d84387621c53808a3957ffd9876e5094
Signed-off-by: Guru Anbalagane <guru.anbalagane@oracle.com>
drivers/scsi/hpsa.c

index 4dcbd8d0e66a9a37ca181c70fc371ca9ee18630f..3ae30b1d4342b90929c03ae3d2de895eddd35203 100644 (file)
@@ -847,7 +847,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,
 };
 
@@ -859,6 +858,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,
 };