From: Paul Bolle Date: Sun, 8 Mar 2009 05:23:13 +0000 (+0000) Subject: gigaset: return -ENOTTY for unimplemented functions X-Git-Tag: v2.6.30-rc1~662^2~285 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f612132c7164d5cc9ed677a2fdf8950222d2170;p=pandora-kernel.git 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 Signed-off-by: Tilman Schmidt Signed-off-by: David S. Miller --- Reading git-diff-tree failed