Allen Barnett wrote:

> +       case USBDEVFS_DRIVER_DEVINFO:
> +               devinfo = (struct usbdevfs_driver_devinfo *)buf;
> +               devinfo->type = S_IFCHR;
> +               devinfo->major = USB_MAJOR;
> +               devinfo->minor = ((struct usblp 
>*)(dev->actconfig->interface->private_data))->minor;
> +               break;

This is probably a stupid question, but shouldn't there be a copy_from_user() and a 
copy_to_user() in
there somewhere? Or is that done automatically in 2.4?

--
Mark McClelland
[EMAIL PROTECTED]



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to