From: Bjørn Mork
Date: Mon, 6 Nov 2017 15:32:18 +0100
> A CDC Ethernet functional descriptor with wMaxSegmentSize = 0 will
> cause a divide error in usbnet_probe:
>
> divide error: [#1] PREEMPT SMP KASAN
...
> Fix by simply ignoring the bogus descriptor, as it is optional
> for QMI device
A CDC Ethernet functional descriptor with wMaxSegmentSize = 0 will
cause a divide error in usbnet_probe:
divide error: [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 24 Comm: kworker/0:1 Not tainted 4.14.0-rc8-44453-g1fdc1a82c34f #56
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996