linux-stable/drivers/staging
Sudip Mukherjee 7d98c63edc staging: panel: fix stackdump
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. When we again try to load the module it again tries
register_reboot_notifier() and gives us a stackdump as its earlier
registration is still not removed. It was caused by the
commit bb046fef96 ('staging: panel: register reboot')
Fix this by moving all the unregistering and releasing in the detach
function, which should be the ideal case as the detach will be called if
we try to unregister the driver or if the parport is removed.

Fixes: bb046fef96 ('staging: panel: register reboot')
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-24 13:35:25 -07:00
..
android Staging:Android:ion - Fix for memory leak if ion device registration get failed. 2015-05-24 13:27:13 -07:00
board
clocking-wizard
comedi Staging: comedi: fix style for multi-line comments in cb_pcidas64.c 2015-05-24 13:11:44 -07:00
dgap staging: dgap: remove unused code 2015-05-10 15:17:50 +02:00
dgnc staging: dgnc: remove redundant check 2015-05-08 09:24:01 +02:00
emxx_udc Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
fbtft Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
fsl-mc staging: fsl-mc: Remove redundant initalization of the .owner field 2015-05-08 09:24:11 +02:00
ft1000 staging: ft1000: Drop unneeded cast on netdev_priv 2015-04-03 14:00:14 +02:00
fwserial Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
gdm72xx Staging: gdm72xx: use !x instead of x == NULL 2015-03-16 16:28:47 +01:00
gdm724x staging: gdm724x: Correction of variable usage after applying ALIGN() 2015-05-10 15:23:02 +02:00
goldfish staging/goldfish/goldfish_audio: Fix annotations 2015-03-20 14:13:17 +01:00
gs_fpgaboot
iio Staging: iio: Allow compile test of GPIO consumers if !GPIOLIB 2015-05-10 20:31:43 +01:00
lustre staging: lustre: cl_page: delete empty macros 2015-05-10 15:05:50 +02:00
media Merge 4.1-rc4 into staging-next 2015-05-18 13:52:44 -07:00
mt29f_spinand
netlogic staging: netlogic: allocate right size in devm_kzalloc 2015-03-20 14:13:17 +01:00
nvec Staging driver patches for 4.1-rc1 2015-04-13 17:37:33 -07:00
octeon staging: octeon-ethernet: update boilerplate comments 2015-04-30 17:06:09 +02:00
octeon-usb Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
olpc_dcon staging/olpc: drop pci dependencies 2015-04-03 13:56:03 +02:00
ozwpan staging: ozwpan: implement error handling in ozwpan_init() 2015-03-26 13:13:13 +01:00
panel staging: panel: fix stackdump 2015-05-24 13:35:25 -07:00
rtl8188eu rtl8188eu: don't duplicate ieee80211 constants for status/reason 2015-05-08 09:24:13 +02:00
rtl8192e staging: rtl8192e: Change cpu_to_le16 to le16_to_cpu 2015-05-10 15:00:41 +02:00
rtl8192u staging: rtl8192u: don't redefine container_of() 2015-05-08 09:24:16 +02:00
rtl8712 Merge 4.1-rc4 into staging-next 2015-05-18 13:52:44 -07:00
rtl8723au Staging: rtl8723au: hal: Remove trailing whitespace in odm.c 2015-05-08 09:24:09 +02:00
rts5208 Staging: rts5208: Replace timeval with timespec64 2015-05-08 09:24:16 +02:00
skein
slicoss staging: slicoss: fix occasionally writing out only half of a dma address 2015-05-13 16:13:24 -07:00
sm7xxfb staging: sm7xxfb: remove unused functions 2015-05-08 09:24:12 +02:00
sm750fb staging: sm750: Fix lynxfb_ops_imageblit() if image->depth != 1 2015-05-24 13:34:49 -07:00
speakup staging: speakup: Fix warning of line over 80 characters. 2015-04-03 13:43:45 +02:00
ste_rmi4 Staging: ste_rmi4: Use SIMPLE_DEV_PM_OPS() macro 2015-03-20 13:37:31 +01:00
unisys staging: unisys: cleanup UNISYS_VISORUTIL 2015-05-24 13:32:15 -07:00
vme
vt6655 Merge 4.1-rc4 into staging-next 2015-05-18 13:52:44 -07:00
vt6656 staging: vt6656: use ieee80211_tx_info to select packet type. 2015-05-08 14:28:04 +02:00
wlan-ng Staging: wlan-ng: Remove typedef prism2sta_accesslist_t 2015-03-23 22:41:16 +01:00
xgifb
Kconfig staging: remove i2o subsystem 2015-05-10 14:54:38 +02:00
Makefile staging: remove i2o subsystem 2015-05-10 14:54:38 +02:00
staging.c