From: Pete Zaitcev Date: Thu, 22 Dec 2005 01:03:24 +0000 (-0800) Subject: [PATCH] USB: ioctl compat for usblp.c X-Git-Tag: v2.6.16-rc1~474^2~22^2~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=318e479eb7ad9a948c6da381976d258464413816;p=pandora-kernel.git [PATCH] USB: ioctl compat for usblp.c From: David Woodhouse David has a G5 with a printer. I am quite surprised that nobody else noticed this before. Linus has a G5. Hackers hate printing in general, maybe. We do not use BKL anymore, because one of code paths had a sleeping call, so we had to use a semaphore. I am sure it's safe to use unlocked_ioctl. The new ioctls return long and retval is int. It looks completely fine to me. We never want these extra bits, and the sign extension ought to work right. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman -- --- Reading git-diff-tree failed