[PATCH] kernel: module: usb: remove deprecated Kconfig option CONFIG_XHCI_HCD_DEBUGGING

Florian Eckert fe at dev.tdt.de
Tue Jul 30 23:34:55 PDT 2024


Hello Hauke

>> --- /dev/null
>> +++ 
>> b/patches/openwrt/30066-kernel-modules-usb-remove-deprecated-Kconfig-option-CONFIG_USB_XHCI_HCD_DEBUGGING.patch
>> @@ -0,0 +1,36 @@
>> +From: Florian Eckert <fe at dev.tdt.de>
>> +Date: Wed, 17 Jul 2024 11:42:58 +0200
>> +Subject: [PATCH] kernel: modules: usb: remove deprecated Kconfig 
>> option
>> + CONFIG_USB_XHCI_HCD_DEBUGGING
>> +
>> +Redmine-patch-id: 8668
>> +The Kconfig option 'CONFIG_USB_XHCI_HCD_DEBUGGING' has been removed 
>> with the
>> +following commit upstream in the Linux kernel.
>> +
>> +https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b2497509df002e9a09c8550cd0ecd2f77c9640d8
>> +
>> +This Kconfig option is therefore no longer valid for the kernel 
>> version
>> +6.6 and should musst be removed.
>> +
>> +Signed-off-by: Florian Eckert <fe at dev.tdt.de>
>> +---
>> + package/kernel/linux/modules/usb.mk | 4 +---
>> + 1 file changed, 1 insertion(+), 3 deletions(-)
>> +
>> +diff --git a/package/kernel/linux/modules/usb.mk 
>> b/package/kernel/linux/modules/usb.mk
>> +index 
>> 12725f10ee25d9ba83e67763f0c41a338aac5542..b0037378342149275571d3e836c44a439a145bc5 
>> 100644
>> +--- a/package/kernel/linux/modules/usb.mk
>> ++++ b/package/kernel/linux/modules/usb.mk
>> +@@ -1846,9 +1846,7 @@ $(eval $(call KernelPackage,usb-roles))
>> +
>> + define KernelPackage/usb-xhci-hcd
>> +   TITLE:=xHCI HCD (USB 3.0) support
>> +-  KCONFIG:= \
>> +-	  CONFIG_USB_XHCI_HCD \
>> +-	  CONFIG_USB_XHCI_HCD_DEBUGGING=n
>> ++  KCONFIG:= CONFIG_USB_XHCI_HCD
>> +   HIDDEN:=1
>> +   FILES:=$(LINUX_DIR)/drivers/usb/host/xhci-hcd.ko
>> +   AUTOLOAD:=$(call AutoLoad,54,xhci-hcd,1)
>> +--
>> +
> Hi Florian,
> 
> This patch looks strange. This looks like a patch for your internal
> build system. ;-)

You're absolutely right! It must be the heat!
I've already sent a new one.

Thanks

Florian



More information about the openwrt-devel mailing list