[SRU] [Bionic/Cosmic/Unstable] [PATCH v2 0/1] Fix usbcore.quirks when used at boot
Kai-Heng Feng
kai.heng.feng at canonical.com
Thu Oct 4 05:42:00 UTC 2018
BugLink: https://bugs.launchpad.net/bugs/1795784
[Impact]
Use usbcore.quirks kernel parameter let the boot stuck.
[Test]
Without the patch, the usbcore.quirks= doesn't work when usbcore is
builtin. The issue is fixed with the patch.
[Fix]
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
same.
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(-)
--
2.17.1
More information about the kernel-team
mailing list