APPLIED[Bionic]: [SRU] [Bionic/Cosmic/Unstable] [PATCH v2 0/1] Fix usbcore.quirks when used at boot
Kleber Souza
kleber.souza at canonical.com
Fri Oct 19 14:45:34 UTC 2018
On 10/04/18 07:42, Kai-Heng Feng wrote:
> 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(-)
>
Applied to bionic/master-next branch.
Thanks,
Kleber
More information about the kernel-team
mailing list