[openwrt/openwrt] kernel: modules: block: adapt for kernel 6.6

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 11 12:17:59 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/85ede9291bfa204982d35c5e036d42024575ae99

commit 85ede9291bfa204982d35c5e036d42024575ae99
Author: Weijie Gao <hackpascal at gmail.com>
AuthorDate: Sat Jan 6 16:12:06 2024 +0800

    kernel: modules: block: adapt for kernel 6.6
    
    Adapt block kmods for building under kernel 6.6:
    * To build scsi_transport_iscsi.ko, change CONFIG_SCSI_ISCSI_ATTRS
    from =y to =m as this config is always tristate since 2.6.
    
    Signed-off-by: Weijie Gao <hackpascal at gmail.com>
---
 package/kernel/linux/modules/block.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk
index 5e6eefa76a..49a1b6fce1 100644
--- a/package/kernel/linux/modules/block.mk
+++ b/package/kernel/linux/modules/block.mk
@@ -263,7 +263,7 @@ define KernelPackage/iscsi-initiator
 	CONFIG_INET \
 	CONFIG_SCSI_LOWLEVEL=y \
 	CONFIG_ISCSI_TCP \
-	CONFIG_SCSI_ISCSI_ATTRS=y
+	CONFIG_SCSI_ISCSI_ATTRS
   FILES:= \
 	$(LINUX_DIR)/drivers/scsi/iscsi_tcp.ko \
 	$(LINUX_DIR)/drivers/scsi/libiscsi.ko \




More information about the lede-commits mailing list