aboutsummaryrefslogtreecommitdiffstats
path: root/d16.patch
diff options
Diffstat (limited to 'd16.patch')
-rw-r--r--d16.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/d16.patch b/d16.patch
index 1fa50d6891fb20..0318c60b71ba6c 100644
--- a/d16.patch
+++ b/d16.patch
@@ -1,3 +1,20 @@
+From foo@baz Wed Jul 19 14:33:41 CEST 2017
+Date: Wed, 19 Jul 2017 14:33:41 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: xen: xen-pciback: remove DRIVER_ATTR() usage
+
+It's better to be explicit and use the DRIVER_ATTR_RW() and
+DRIVER_ATTR_RO() macros when defining a driver's sysfs file.
+
+Bonus is this fixes up a checkpatch.pl warning.
+
+This is part of a series to drop DRIVER_ATTR() from the tree entirely.
+
+Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
+Cc: Juergen Gross <jgross@suse.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
---
drivers/xen/xen-pciback/pci_stub.c | 44 ++++++++++++++++---------------------
1 file changed, 20 insertions(+), 24 deletions(-)