linux-sg2042/drivers/isdn/gigaset
Tilman Schmidt 51370e5b21 gigaset: in file ops, check for device disconnect before anything else
When the device is disconnected, the dev structure goes away, so
trying to report another error via dev_printk is bound to oops.
To avoid that, first check whether the device is still connected
and return quietly if it isn't.

Impact: error handling

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Reported-by: Paul Bolle <pebolle@tiscali.nl>
Tested-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-06 17:07:57 -07:00
..
Kconfig gigaset: Kconfig cleanup 2009-03-10 05:22:41 -07:00
Makefile [PATCH] drivers/isdn/gigaset: build asyncdata.o into the gigaset module (fix) 2007-03-01 14:53:38 -08:00
asyncdata.c gigaset: ifdef cleanup 2008-12-26 01:22:03 -08:00
bas-gigaset.c bas_gigaset: use tasklet_hi_schedule for timing critical tasklets 2009-04-06 17:07:56 -07:00
common.c gigaset: use pr_err() and pr_info() 2008-12-26 01:21:29 -08:00
ev-layer.c gigaset: ifdef cleanup 2008-12-26 01:22:03 -08:00
gigaset.h gigaset: use pr_err() and pr_info() 2008-12-26 01:21:29 -08:00
i4l.c gigaset: use pr_err() and pr_info() 2008-12-26 01:21:29 -08:00
interface.c gigaset: in file ops, check for device disconnect before anything else 2009-04-06 17:07:57 -07:00
isocdata.c gigaset: ifdef cleanup 2008-12-26 01:22:03 -08:00
proc.c gigaset: remove pointless locking 2007-10-16 09:43:10 -07:00
ser-gigaset.c platform: make better use of to_platform_{device,driver}() macros 2009-03-24 16:38:24 -07:00
usb-gigaset.c gigaset: return -ENOTTY for unimplemented functions 2009-03-10 05:22:42 -07:00