]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.18-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 May 2017 23:07:58 +0000 (16:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 May 2017 23:07:58 +0000 (16:07 -0700)
added patches:
scsi-advansys.c-remove-dma-build-warning-message.patch

queue-3.18/message-i2o-fix-64bit-build-warnings.patch
queue-3.18/scsi-advansys.c-remove-dma-build-warning-message.patch [new file with mode: 0644]
queue-3.18/series
queue-3.18/staging-unisys-fix-build-warning-in-periodic_work.patch

index a7e92fee8f0238a57ba825daea47b208dd8bf6c3..9528f7353b593772eea1a9e1e2bc34c9ef3616b5 100644 (file)
@@ -4,6 +4,8 @@ To: Greg KH <gregkh@linuxfoundation.org>
 From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 Subject: message: i2o: fix 64bit build warnings
 
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
 It seems that most of the 64bit build warnings were fixed up in this
 driver, but 2 were forgotten.  This code is long deleted from newer
 kernels, so the fix is not needed there, but make it here in the 3.18
diff --git a/queue-3.18/scsi-advansys.c-remove-dma-build-warning-message.patch b/queue-3.18/scsi-advansys.c-remove-dma-build-warning-message.patch
new file mode 100644 (file)
index 0000000..6af8ec9
--- /dev/null
@@ -0,0 +1,30 @@
+From foo@baz Thu May  4 16:05:52 PDT 2017
+Date: Thu, 04 May 2017 16:05:52 -0700
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: scsi: advansys.c: remove DMA build warning message
+
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+The driver was finally converted to the "new" DMA api in newer kernels,
+but here in 3.18, it never will happen, so just shut the warning up for
+now as obviously no one is going to do anything about it.
+
+Cc: Arnd Bergmann <arnd@arndb.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/scsi/advansys.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/scsi/advansys.c
++++ b/drivers/scsi/advansys.c
+@@ -68,7 +68,7 @@
+  *  7. advansys_info is not safe against multiple simultaneous callers
+  *  8. Add module_param to override ISA/VLB ioport array
+  */
+-#warning this driver is still not properly converted to the DMA API
++/*#warning this driver is still not properly converted to the DMA API */
+ /* Enable driver /proc statistics. */
+ #define ADVANSYS_STATS
index b6b414b34692ca2705e6718ba80cd3010155c224..ad9d8490291e0c3062675e3ca1623a97b59ab5ab 100644 (file)
@@ -59,3 +59,4 @@ mips-elf2ecoff-ignore-pt_mips_abiflags-program-headers.patch
 mips-elf2ecoff-fix-warning-due-to-dead-code.patch
 staging-unisys-fix-build-warning-in-periodic_work.patch
 message-i2o-fix-64bit-build-warnings.patch
+scsi-advansys.c-remove-dma-build-warning-message.patch
index 579608c34c75070ccab48be55c22d40ae397df8a..77e8f2759074b7b5b01fe7075f5a81bce3ae7674 100644 (file)
@@ -4,7 +4,11 @@ To: Greg KH <gregkh@linuxfoundation.org>
 From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 Subject: staging: unisys: fix build warning in periodic_work
 
-This code is long gone in mainline, so the build warning about trying to compare a bool to a value less than 0 isn't there.  But fix it in 3.18 to get the build warning list down to a small number.
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+This code is long gone in mainline, so the build warning about trying to
+compare a bool to a value less than 0 isn't there.  But fix it in 3.18
+to get the build warning list down to a small number.
 
 Cc: Arnd Bergmann <arnd@arndb.de>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>