Re: [PATCH] staging: panel: fix stackdump

2015-05-11 Thread Willy Tarreau
On Mon, May 11, 2015 at 04:42:19PM +0530, Sudip Mukherjee wrote: > if we load the module, unload and then again try to load the module, we > will get a stackdump. In the module_exit function we are unregistering > the device and releasing the parport. So when we reach the detach > function parport

[PATCH] staging: panel: fix stackdump

2015-05-11 Thread Sudip Mukherjee
if we load the module, unload and then again try to load the module, we will get a stackdump. In the module_exit function we are unregistering the device and releasing the parport. So when we reach the detach function parport is already null and the unregister_reboot_notifier() is never called. Whe