Re: [PATCH 1/2 v2] gigaset: return -ENOTTY for unimplementedfunctions

From: David Miller
Date: Tue Mar 10 2009 - 08:25:34 EST


From: Tilman Schmidt <tilman@xxxxxxx>
Date: Sun, 8 Mar 2009 16:23:13 +0100 (CET)

> From: Paul Bolle <pebolle@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Tilman Schmidt <tilman@xxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/