diff options
author | Tomas Henzl <thenzl@redhat.com> | 2015-11-06 10:24:09 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2015-11-09 12:43:58 -0500 |
commit | fb53c439d84387621c53808a3957ffd9876e5094 (patch) | |
tree | 960bc8d8c4373870cb975bfc3ce136afc9a8104e | |
parent | ec2c3aa94d9207fd2557203f36677da8be75b354 (diff) |
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 <thenzl@redhat.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r-- | drivers/scsi/hpsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 57166e68fc92..6d4412359d23 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -867,7 +867,6 @@ static struct device_attribute *hpsa_sdev_attrs[] = { | |||
867 | &dev_attr_unique_id, | 867 | &dev_attr_unique_id, |
868 | &dev_attr_hp_ssd_smart_path_enabled, | 868 | &dev_attr_hp_ssd_smart_path_enabled, |
869 | &dev_attr_path_info, | 869 | &dev_attr_path_info, |
870 | &dev_attr_lockup_detected, | ||
871 | NULL, | 870 | NULL, |
872 | }; | 871 | }; |
873 | 872 | ||
@@ -879,6 +878,7 @@ static struct device_attribute *hpsa_shost_attrs[] = { | |||
879 | &dev_attr_resettable, | 878 | &dev_attr_resettable, |
880 | &dev_attr_hp_ssd_smart_path_status, | 879 | &dev_attr_hp_ssd_smart_path_status, |
881 | &dev_attr_raid_offload_debug, | 880 | &dev_attr_raid_offload_debug, |
881 | &dev_attr_lockup_detected, | ||
882 | NULL, | 882 | NULL, |
883 | }; | 883 | }; |
884 | 884 | ||