Re: HID: picolcd: Prevent NULL pointer dereference on _remove()

2013-09-02 Thread Jiri Kosina
On Sat, 31 Aug 2013, Bruno Prémont wrote: When picolcd is switched into bootloader mode (for FW flashing) make sure not to try to dereference NULL-pointers of feature-devices during unplug/unbind. This fixes following BUG: BUG: unable to handle kernel NULL pointer dereference at 0298

HID: picolcd: Prevent NULL pointer dereference on _remove()

2013-08-31 Thread Bruno Prémont
When picolcd is switched into bootloader mode (for FW flashing) make sure not to try to dereference NULL-pointers of feature-devices during unplug/unbind. This fixes following BUG: BUG: unable to handle kernel NULL pointer dereference at 0298 IP: [f811f56b]