aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-08 16:16:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-08 16:16:08 +0200
commit1670862cd60c9110a93d8fdd186d4bfe51b185d1 (patch)
treed21ba0888cde520dfd57d7237a6f24847a9c1b36
parentd23211444204e09eada13d0a53c8e4cbb28cac3e (diff)
downloadpatches-1670862cd60c9110a93d8fdd186d4bfe51b185d1.tar.gz
add some headers to some patches
-rw-r--r--d01.patch15
-rw-r--r--d02.patch16
-rw-r--r--d03.patch12
-rw-r--r--d04.patch12
-rw-r--r--d05.patch5
-rw-r--r--d06.patch13
-rw-r--r--d07.patch13
-rw-r--r--d08.patch14
-rw-r--r--d09.patch12
-rw-r--r--d10.patch16
-rw-r--r--d11.patch18
-rw-r--r--d12.patch13
-rw-r--r--d15.patch6
13 files changed, 165 insertions, 0 deletions
diff --git a/d01.patch b/d01.patch
index 875ce8da064ab..28c854b364b73 100644
--- a/d01.patch
+++ b/d01.patch
@@ -1,3 +1,18 @@
+From foo@baz Thu Jun 8 15:02:37 CEST 2017
+Date: Thu, 08 Jun 2017 15:02:37 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: HID: hid-core: convert to use DRIVER_ATTR_RO and drv_groups
+
+In the quest to get rid of DRIVER_ATTR(), this patch converts the
+hid-core code to use DRIVER_ATTR_RO() and also moves to use drv_groups
+as creating individual sysfs files is not good (it races with userspace
+notifications.)
+
+Cc: Jiri Kosina <jikos@kernel.org>
+Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
+Cc: <linux-input@vger.kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/hid/hid-core.c | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/d02.patch b/d02.patch
index 5c15f1c0871ad..528bcdf5de40b 100644
--- a/d02.patch
+++ b/d02.patch
@@ -1,3 +1,19 @@
+From foo@baz Thu Jun 8 15:02:46 CEST 2017
+Date: Thu, 08 Jun 2017 15:02:46 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: IB: nes: convert to use DRIVER_ATTR_RW
+
+We are trying to get rid of DRIVER_ATTR(), and all of the nes.c driver
+attributes can be trivially changed to use DRIVER_ATTR_RW(), making the
+code smaller and easier to manage over time.
+
+Cc: Faisal Latif <faisal.latif@intel.com>
+Cc: Doug Ledford <dledford@redhat.com>
+Cc: Sean Hefty <sean.hefty@intel.com>
+Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
+Cc: <linux-rdma@vger.kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/infiniband/hw/nes/nes.c | 80 +++++++++++++++-------------------------
1 file changed, 31 insertions(+), 49 deletions(-)
diff --git a/d03.patch b/d03.patch
index 884f2fa3b2dad..481044ca9606d 100644
--- a/d03.patch
+++ b/d03.patch
@@ -1,3 +1,15 @@
+From foo@baz Thu Jun 8 15:02:52 CEST 2017
+Date: Thu, 08 Jun 2017 15:02:52 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: PCI: pci-driver: convert to use DRIVER_ATTR_WO
+
+We are trying to get rid of DRIVER_ATTR(), and all of the pci-driver
+core driver attributes can be trivially changed to use DRIVER_ATTR_WO().
+
+Cc: Bjorn Helgaas <bhelgaas@google.com>
+Cc: <linux-pci@vger.kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/pci/pci-driver.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/d04.patch b/d04.patch
index a55e2d82f0c3f..771266f5c58e0 100644
--- a/d04.patch
+++ b/d04.patch
@@ -1,3 +1,15 @@
+From foo@baz Thu Jun 8 15:02:58 CEST 2017
+Date: Thu, 08 Jun 2017 15:02:58 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: TTY: hvc: convert to use DRIVER_ATTR_RW
+
+We are trying to get rid of DRIVER_ATTR(), and the hvc driver's
+attribute can be trivially changed to use DRIVER_ATTR_RW().
+
+Cc: Jiri Slaby <jslaby@suse.com>
+Cc: <linuxppc-dev@lists.ozlabs.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/tty/hvc/hvcs.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/d05.patch b/d05.patch
index badfd7b7587d5..91272bdc26a49 100644
--- a/d05.patch
+++ b/d05.patch
@@ -1,3 +1,8 @@
+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:
---
drivers/scsi/aic94xx/aic94xx_init.c | 4 +--
drivers/scsi/megaraid/megaraid_sas_base.c | 36 ++++++++++--------------------
diff --git a/d06.patch b/d06.patch
index bff4fdf7205c5..e5e20f25eae03 100644
--- a/d06.patch
+++ b/d06.patch
@@ -1,3 +1,16 @@
+From foo@baz Thu Jun 8 15:03:13 CEST 2017
+Date: Thu, 08 Jun 2017 15:03:13 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: net: caif: convert to use DRIVER_ATTR_RO
+
+We are trying to get rid of DRIVER_ATTR(), and the caif driver's
+attributes can be trivially changed to use DRIVER_ATTR_RO().
+
+Cc: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
+Cc: <netdev@vger.kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
---
drivers/net/caif/caif_spi.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/d07.patch b/d07.patch
index df85fc6a4c8aa..2e8b3d0acef33 100644
--- a/d07.patch
+++ b/d07.patch
@@ -1,3 +1,16 @@
+From foo@baz Thu Jun 8 15:03:19 CEST 2017
+Date: Thu, 08 Jun 2017 15:03:19 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: net: ehea: convert to use DRIVER_ATTR_RO
+
+We are trying to get rid of DRIVER_ATTR(), and the ehea driver's
+attribute can be trivially changed to use DRIVER_ATTR_RO().
+
+Cc: Douglas Miller <dougmill@linux.vnet.ibm.com>
+Cc: <netdev@vger.kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
---
drivers/net/ethernet/ibm/ehea/ehea_main.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/d08.patch b/d08.patch
index 0bb621a5adb6b..2f3a3065268a2 100644
--- a/d08.patch
+++ b/d08.patch
@@ -1,3 +1,17 @@
+From foo@baz Thu Jun 8 15:03:24 CEST 2017
+Date: Thu, 08 Jun 2017 15:03:24 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: wireless: ipw2x00: convert to use DRIVER_ATTR_RW
+
+We are trying to get rid of DRIVER_ATTR(), and the ipw2x00 driver's
+attributes can be trivially changed to use DRIVER_ATTR_RW().
+
+Cc: Stanislav Yakovlev <stas.yakovlev@gmail.com>
+Cc: Kalle Valo <kvalo@codeaurora.org>
+Cc: <linux-wireless@vger.kernel.org>
+Cc: <netdev@vger.kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/net/wireless/intel/ipw2x00/ipw2100.c | 8 +++-----
drivers/net/wireless/intel/ipw2x00/ipw2200.c | 8 +++-----
diff --git a/d09.patch b/d09.patch
index d58affbbf94a5..48fdbff790e66 100644
--- a/d09.patch
+++ b/d09.patch
@@ -1,3 +1,15 @@
+From foo@baz Thu Jun 8 15:03:31 CEST 2017
+Date: Thu, 08 Jun 2017 15:03:31 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: pcmcia: ds: convert to use DRIVER_ATTR_RO
+
+We are trying to get rid of DRIVER_ATTR(), and the pcmcia driver's
+attribute can be trivially changed to use DRIVER_ATTR_RO().
+
+Cc: Russell King <rmk+kernel@armlinux.org.uk>
+Cc: <linux-pcmcia@lists.infradead.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/pcmcia/ds.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/d10.patch b/d10.patch
index 0d68a7e2688f2..ec3d5816638ba 100644
--- a/d10.patch
+++ b/d10.patch
@@ -1,3 +1,19 @@
+From foo@baz Thu Jun 8 15:18:55 CEST 2017
+Date: Thu, 08 Jun 2017 15:18:55 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: platform: thinkpad_acpi: convert to use DRIVER_ATTR_RO/RW
+
+We are trying to get rid of DRIVER_ATTR(), and the thinkpad_acpi
+driver's attributes can be trivially changed to use DRIVER_ATTR_RO() and
+DRIVER_ATTR_RW().
+
+Cc: Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>
+Cc: Darren Hart <dvhart@infradead.org>
+Cc: Andy Shevchenko <andy@infradead.org>
+Cc: <ibm-acpi-devel@lists.sourceforge.net>
+Cc: <platform-driver-x86@vger.kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/platform/x86/thinkpad_acpi.c | 91 ++++++++++-------------------------
1 file changed, 28 insertions(+), 63 deletions(-)
diff --git a/d11.patch b/d11.patch
index 01b01d7edb99b..74086a6c28e4c 100644
--- a/d11.patch
+++ b/d11.patch
@@ -1,3 +1,21 @@
+From foo@baz Thu Jun 8 15:28:21 CEST 2017
+Date: Thu, 08 Jun 2017 15:28:21 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: s390: drivers: convert to use DRIVER_ATTR_RO/WO
+
+We are trying to get rid of DRIVER_ATTR(), and the s390 drivers'
+attributes can be trivially changed to use DRIVER_ATTR_RO() and
+DRIVER_ATTR_WO().
+
+Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
+Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
+Cc: Julian Wiedmann <jwi@linux.vnet.ibm.com>
+Cc: Ursula Braun <ubraun@linux.vnet.ibm.com>
+Cc: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
+Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com>
+Cc: <linux-s390@vger.kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/s390/char/sclp.c | 12 ++++++------
drivers/s390/char/vmlogrdr.c | 7 ++-----
diff --git a/d12.patch b/d12.patch
index b626b75dd768f..59a2a592a4c9e 100644
--- a/d12.patch
+++ b/d12.patch
@@ -1,3 +1,16 @@
+From foo@baz Thu Jun 8 15:32:05 CEST 2017
+Date: Thu, 08 Jun 2017 15:32:05 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: USB: usbip: convert to use DRIVER_ATTR_RW
+
+We are trying to get rid of DRIVER_ATTR(), and the usbip driver
+attribute can be trivially changed to use DRIVER_ATTR_RW().
+
+Cc: Valentina Manea <valentina.manea.m@gmail.com>
+Cc: Shuah Khan <shuah@kernel.org>
+Cc: <linux-usb@vger.kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/usb/usbip/stub_main.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/d15.patch b/d15.patch
index ac57eafabe0a4..e04e629a86a59 100644
--- a/d15.patch
+++ b/d15.patch
@@ -1,3 +1,9 @@
+From foo@baz Thu Jun 8 15:34:49 CEST 2017
+Date: Thu, 08 Jun 2017 15:34:49 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: s390 squash
+
---
drivers/s390/net/ctcm_main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)