From: Alan Cox Date: Mon, 13 Oct 2008 09:45:17 +0000 (+0100) Subject: applicom: Fix an unchecked user ioctl range and an error return X-Git-Tag: v2.6.28-rc1~617 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7be18d436f0c7007794965e5af29fa1ffff1e05;p=pandora-kernel.git applicom: Fix an unchecked user ioctl range and an error return Closes bug #11408 by checking the card index range for command 0 Fixes the ioctl to return ENOTTY which is correct for unknown ioctls Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed