[packages/kernel] patch for failing scsi_mod insertion

atler atler at pld-linux.org
Sat Jul 13 13:33:58 CEST 2019


commit d2973294db19c7a31dd4636e67f6a5192f4081df
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Jul 13 13:31:07 2019 +0200

    patch for failing scsi_mod insertion
    
    see https://bugzilla.kernel.org/show_bug.cgi?id=204119

 bz204119.patch | 13 +++++++++++++
 kernel.spec    |  2 ++
 2 files changed, 15 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index 0c1225bd..425c245b 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -217,6 +217,7 @@ Patch2000:	kernel-small_fixes.patch
 Patch2001:	kernel-pwc-uncompress.patch
 Patch2003:	kernel-regressions.patch
 Patch2004:	xfs-reclaim-hack.patch
+Patch2005:	bz204119.patch
 
 # for rescuecd
 # based on ftp://ftp.leg.uct.ac.za/pub/linux/rip/tmpfs_root-2.6.30.diff.gz
@@ -693,6 +694,7 @@ rm -f localversion-rt
 %patch2001 -p1
 #%patch2003 -p1
 %patch2004 -p1
+%patch2005 -p1
 
 # Do not remove this, please!
 #%%patch50000 -p1
diff --git a/bz204119.patch b/bz204119.patch
new file mode 100644
index 00000000..98500068
--- /dev/null
+++ b/bz204119.patch
@@ -0,0 +1,13 @@
+diff --git a/drivers/scsi/scsi_logging.c b/drivers/scsi/scsi_logging.c
+index 39b8cc4574b4..148d8635d5f6 100644
+--- a/drivers/scsi/scsi_logging.c
++++ b/drivers/scsi/scsi_logging.c
+@@ -15,7 +15,7 @@
+ #include <scsi/scsi_eh.h>
+ #include <scsi/scsi_dbg.h>
+
+-#define SCSI_LOG_SPOOLSIZE 4096
++#define SCSI_LOG_SPOOLSIZE SCSI_LOG_BUFSIZE
+
+ #if (SCSI_LOG_SPOOLSIZE / SCSI_LOG_BUFSIZE) > BITS_PER_LONG
+ #warning SCSI logging bitmask too large
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/d2973294db19c7a31dd4636e67f6a5192f4081df



More information about the pld-cvs-commit mailing list