From: Tomas Henzl Date: Fri, 6 Nov 2015 15:24:09 +0000 (+0100) Subject: hpsa: move lockup_detected attribute to host attr X-Git-Tag: v4.1.12-92~186^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d9cdf613d15767ad3107670bde64542cbc01e92c;p=users%2Fjedix%2Flinux-maple.git 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. Orabug: 22930824 Signed-off-by: Tomas Henzl Signed-off-by: Don Brace Signed-off-by: Martin K. Petersen Mainline v4.4 commit fb53c439d84387621c53808a3957ffd9876e5094 Signed-off-by: Guru Anbalagane --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 4dcbd8d0e66a9..3ae30b1d4342b 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -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, };