From: Greg Kroah-Hartman Date: Thu, 4 May 2017 23:07:58 +0000 (-0700) Subject: 3.18-stable patches X-Git-Tag: v3.18.52~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e3d463a5f29941fcc8a3a68b211b193546cdc3cd;p=thirdparty%2Fkernel%2Fstable-queue.git 3.18-stable patches added patches: scsi-advansys.c-remove-dma-build-warning-message.patch --- diff --git a/queue-3.18/message-i2o-fix-64bit-build-warnings.patch b/queue-3.18/message-i2o-fix-64bit-build-warnings.patch index a7e92fee8f0..9528f7353b5 100644 --- a/queue-3.18/message-i2o-fix-64bit-build-warnings.patch +++ b/queue-3.18/message-i2o-fix-64bit-build-warnings.patch @@ -4,6 +4,8 @@ To: Greg KH From: Greg Kroah-Hartman Subject: message: i2o: fix 64bit build warnings +From: Greg Kroah-Hartman + 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 index 00000000000..6af8ec93ed8 --- /dev/null +++ b/queue-3.18/scsi-advansys.c-remove-dma-build-warning-message.patch @@ -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 +From: Greg Kroah-Hartman +Subject: scsi: advansys.c: remove DMA build warning message + +From: Greg Kroah-Hartman + +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 +Signed-off-by: Greg Kroah-Hartman + +--- + 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 diff --git a/queue-3.18/series b/queue-3.18/series index b6b414b3469..ad9d8490291 100644 --- a/queue-3.18/series +++ b/queue-3.18/series @@ -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 diff --git a/queue-3.18/staging-unisys-fix-build-warning-in-periodic_work.patch b/queue-3.18/staging-unisys-fix-build-warning-in-periodic_work.patch index 579608c34c7..77e8f275907 100644 --- a/queue-3.18/staging-unisys-fix-build-warning-in-periodic_work.patch +++ b/queue-3.18/staging-unisys-fix-build-warning-in-periodic_work.patch @@ -4,7 +4,11 @@ To: Greg KH From: Greg Kroah-Hartman 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 + +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 Signed-off-by: Greg Kroah-Hartman