From: Samuel Tardieu Date: Sat, 9 Sep 2006 15:34:31 +0000 (+0200) Subject: [WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl() X-Git-Tag: v2.6.19-rc1~370^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=795b89d207d8ff5397f9ff1f4d44662aa7c821fc;p=pandora-kernel.git [WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl() 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 Signed-off-by: Wim Van Sebroeck Acked-by: Alan Cox Signed-off-by: Andrew Morton --- Reading git-diff-tree failed