Hi,

On Mon, Dec 23, 2002 at 11:26:29PM +0100, Oliver Neukum wrote:
> ioctl has the same locking requirements as read and write.

True. I don't know why it's handled different currently.

> This patch should fix it.

It's against which tree? I can't apply the patch to 2.4 because of
lines like that one:

                nb = le16_to_cpup(&cmsg.req.length);

Anyway, manual applying gives compilation errors if DEBUG and PV8630
are enabled:

scanner.c: In function ioctl_scanner':
scanner.c:748: `scn_minor' undeclared (first use in this function)
scanner.c:753: `result' undeclared (first use in this function)
(there are more of these)

Otherwise scanning seems to work with scanners using control messages.

Bye,
  Henning


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to