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
- Re: [linux-usb-devel] Additional USB Hotplug Informa... Johannes Erdfelt
- Re: [linux-usb-devel] Additional USB Hotplug Information Allen Barnett
- Re: [linux-usb-devel] Additional USB Hotplug Informa... David Brownell
- Re: [linux-usb-devel] Additional USB Hotplug Information Alan Cox
- Re: [linux-usb-devel] Additional USB Hotplug Information Johannes Erdfelt
- Re: [linux-usb-devel] Additional USB Hotplug Information Alan Cox
- Re: [linux-usb-devel] Additional USB Hotplug Information Tim Jansen
- Re: [linux-usb-devel] Additional USB Hotplug Information Alan Cox
- Re: [linux-usb-devel] Additional USB Hotplug Information Allen Barnett
- Re: [linux-usb-devel] Additional USB Hotplug Information Mark McClelland
- Re: [linux-usb-devel] Additional USB Hotplug Informa... Allen Barnett
