Re: [PATCH v2] platform/x86: asus-wireless: Fix NULL pointer dereference

2018-04-19 Thread Darren Hart
On Thu, Apr 19, 2018 at 07:04:34AM -0700, João Paulo Rechi Vita wrote: > When the module is removed the led workqueue is destroyed in the remove > callback, before the led device is unregistered from the led subsystem. Queued up, thanks. -- Darren Hart VMware Open Source Technology Center

[PATCH v2] platform/x86: asus-wireless: Fix NULL pointer dereference

2018-04-19 Thread João Paulo Rechi Vita
When the module is removed the led workqueue is destroyed in the remove callback, before the led device is unregistered from the led subsystem. This leads to a NULL pointer derefence when the led device is unregistered automatically later as part of the module removal cleanup. Bellow is the backtr