aboutsummaryrefslogtreecommitdiffstats
path: root/d16.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-19 14:36:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-19 14:36:07 +0200
commit572d0e278d7804a37234f2ad469bf25ee16f7e80 (patch)
tree338d86aaa5bb6a92040843364f236fbdcf6dc1c7 /d16.patch
parent946fc389715265f4d57343469ed56d6166efcbd5 (diff)
downloadpatches-572d0e278d7804a37234f2ad469bf25ee16f7e80.tar.gz
add metadata to the d??.patch files
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(-)