aboutsummaryrefslogtreecommitdiffstats
path: root/d05.patch
diff options
Diffstat (limited to 'd05.patch')
-rw-r--r--d05.patch20
1 files changed, 19 insertions, 1 deletions
diff --git a/d05.patch b/d05.patch
index 72f006fb5a7e15..fedee5c089c55e 100644
--- a/d05.patch
+++ b/d05.patch
@@ -2,7 +2,25 @@ From foo@baz Thu Jun 8 15:03:04 CEST 2017
Date: Thu, 08 Jun 2017 15:03:04 +0200
To: Greg KH <gregkh@linuxfoundation.org>
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Subject:
+Subject: SCSI: remove DRIVER_ATTR() usage
+
+It's better to use the DRIVER_ATTR_RW() and DRIVER_ATTR_RO() macros to
+explicitly show that this is a read/write or read/only sysfs file. So
+convert the remaining SCSI drivers that use the old style to use the
+newer macros.
+
+Bonus is that this removes some checkpatch.pl warnings :)
+
+This is part of a series to drop DRIVER_ATTR() from the tree entirely.
+
+Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
+Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
+Cc: Kashyap Desai <kashyap.desai@broadcom.com>
+Cc: Sumit Saxena <sumit.saxena@broadcom.com>
+Cc: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
+Cc: Willem Riede <osst@riede.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
---
drivers/scsi/aic94xx/aic94xx_init.c | 4 +--
drivers/scsi/megaraid/megaraid_sas_base.c | 36 ++++++++++--------------------