[PATCH][SRU][wily] hpsa: move lockup_detected attribute to host attr
Eric Desrochers
eric.desrochers at canonical.com
Wed May 18 18:07:49 UTC 2016
From: Eric Desrochers <slashd at ubuntu.com>
From: Tomas Henzl <thenzl at redhat.com>
BugLink: https://bugs.launchpad.net/bugs/1581169
This patch fixes a 'general protection fault' issue by
moving the attribute to where it was likely meant.
Signed-off-by: Tomas Henzl <thenzl at redhat.com>
Signed-off-by: Don Brace <don.brace at pmcs.com>
Signed-off-by: Martin K. Petersen <martin.petersen at oracle.com>
(cherry picked from commit fb53c439d84387621c53808a3957ffd9876e5094)
Signed-off-by: Eric Desrochers <slashd at ubuntu.com>
---
drivers/scsi/hpsa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index cab4e98..c8d00ce 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -744,7 +744,6 @@ static struct device_attribute *hpsa_sdev_attrs[] = {
&dev_attr_lunid,
&dev_attr_unique_id,
&dev_attr_hp_ssd_smart_path_enabled,
- &dev_attr_lockup_detected,
NULL,
};
@@ -756,6 +755,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,
};
--
1.9.1
More information about the kernel-team
mailing list