[SRU] [Bionic/Cosmic/Unstable] [PATCH 0/1] Fix usbcore.quirks when used at boot

Kai-Heng Feng kai.heng.feng at canonical.com
Wed Oct 3 04:38:28 UTC 2018

BugLink: https://bugs.launchpad.net/bugs/1795784

Use usbcore.quirks kernel parameter let the boot stuck.

Without the patch, the usbcore.quirks= doesn't work when usbcore is
builtin. The issue is fixed with the patch.

If the parameter is used at boot, parse the list after the slab is
initialized. When the kcalloc fails, reset the count to 0.

[Regression Potential]
Low. The change limits to quirk parsing, the usbcore behaviour stays the

Harry Pan (1):
  usb: core: safely deal with the dynamic quirk lists

 drivers/usb/core/quirks.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


More information about the kernel-team mailing list