diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-19 14:36:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-19 14:36:07 +0200 |
commit | 572d0e278d7804a37234f2ad469bf25ee16f7e80 (patch) | |
tree | 338d86aaa5bb6a92040843364f236fbdcf6dc1c7 | |
parent | 946fc389715265f4d57343469ed56d6166efcbd5 (diff) | |
download | patches-572d0e278d7804a37234f2ad469bf25ee16f7e80.tar.gz |
add metadata to the d??.patch files
-rw-r--r-- | d05.patch | 20 | ||||
-rw-r--r-- | d13.patch | 15 | ||||
-rw-r--r-- | d14.patch | 16 | ||||
-rw-r--r-- | d16.patch | 17 |
4 files changed, 67 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 ++++++++++-------------------- diff --git a/d13.patch b/d13.patch index 548251452cb571..eddd0c81601e3c 100644 --- a/d13.patch +++ b/d13.patch @@ -1,3 +1,18 @@ +From foo@baz Wed Jul 19 14:30:27 CEST 2017 +Date: Wed, 19 Jul 2017 14:30:27 +0200 +To: Greg KH <gregkh@linuxfoundation.org> +From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +Subject: fbdev: uvesafb: remove DRIVER_ATTR() usage + +It's better to be explicit and use the DRIVER_ATTR_RW() macro 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: Michal Januszewski <spock@gentoo.org> +Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- drivers/video/fbdev/uvesafb.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/d14.patch b/d14.patch index 27abe3120c4a99..6a0e6486f4797a 100644 --- a/d14.patch +++ b/d14.patch @@ -1,3 +1,19 @@ +From foo@baz Wed Jul 19 14:32:31 CEST 2017 +Date: Wed, 19 Jul 2017 14:32:31 +0200 +To: Greg KH <gregkh@linuxfoundation.org> +From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +Subject: DMA: ppc4xx: 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: Vinod Koul <vinod.koul@intel.com> +Cc: Dan Williams <dan.j.williams@intel.com> +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- drivers/dma/ppc4xx/adma.c | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 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(-) |