summaryrefslogtreecommitdiffstats
path: root/net/appletalk/ddp.c
diff options
context:
space:
mode:
authorPaul Bolle2009-03-08 06:23:13 +0100
committerDavid S. Miller2009-03-10 13:22:42 +0100
commit3f612132c7164d5cc9ed677a2fdf8950222d2170 (patch)
tree1e8bc23ad60cfb8af6b8e9d33b5fd27cb20a90ac /net/appletalk/ddp.c
parentgigaset: Kconfig cleanup (diff)
downloadkernel-qcow2-linux-3f612132c7164d5cc9ed677a2fdf8950222d2170.tar.gz
kernel-qcow2-linux-3f612132c7164d5cc9ed677a2fdf8950222d2170.tar.xz
kernel-qcow2-linux-3f612132c7164d5cc9ed677a2fdf8950222d2170.zip
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>
Diffstat (limited to 'net/appletalk/ddp.c')
0 files changed, 0 insertions, 0 deletions