linux/drivers/isdn/gigaset
Paul Bolle 3f612132c7 gigaset: return -ENOTTY for unimplemented functions
A number of functions in the usb_gigaset module will return -EINVAL if
CONFIG_GIGASET_UNDOCREQ is not set. Make these return -ENOTTY as it's
more specific and it might make it easier to see (from userspace) why
these functions actually fail.

Impact: some error return codes changed

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-10 05:22:42 -07:00
..
asyncdata.c gigaset: ifdef cleanup 2008-12-26 01:22:03 -08:00
bas-gigaset.c gigaset: use pr_err() and pr_info() 2008-12-26 01:21:29 -08: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: ifdef cleanup 2008-12-26 01:22:03 -08:00
isocdata.c gigaset: ifdef cleanup 2008-12-26 01:22:03 -08:00
Kconfig gigaset: Kconfig cleanup 2009-03-10 05:22:41 -07:00
Makefile
proc.c gigaset: remove pointless locking 2007-10-16 09:43:10 -07:00
ser-gigaset.c gigaset: use pr_err() and pr_info() 2008-12-26 01:21:29 -08:00
usb-gigaset.c gigaset: return -ENOTTY for unimplemented functions 2009-03-10 05:22:42 -07:00