[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 09 Sep 2006 17:16:43 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Samuel Tardieu <sam@...1149.net>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] watchdog: use ENOTTY instead of ENOIOCTLCMD in ioctl()
Ar Sad, 2006-09-09 am 17:34 +0200, ysgrifennodd Samuel Tardieu:
> Return ENOTTY instead of ENOIOCTLCMD in user-visible ioctl() results
>
> The watchdog drivers used to return ENOIOCTLCMD for bad ioctl() commands.
> ENOIOCTLCMD should not be visible by the user, so use ENOTTY instead.
>
> Signed-off-by: Samuel Tardieu <sam@...1149.net>
Acked-by: Alan Cox <alan@...hat.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists