On Fri, Jan 16, 2004 at 01:18:57PM -0800, James Lamanna wrote: > >Well, you can implement it, and if it's sane, I'll probably accept it. > > > Considering this will be my first substantive patch to the kernel I've > probably done some horrible things, and you may not consider this a "sane" > interface. Any criticisms, suggestions, etc... are appreciated. > This patch needs the previous one I've submitted in order to be of use for > devices without the 1-1 correspondence. > Unfortunately I haven't been able to test this yet because all devices I > had at my disposal that this would be useful for are in use and not > accessible! > > I've made the diff against 2.6.1 an attachment for my mailer tends to > destroy tab spacings.
When creating a structure for an ioctl, you have to explicitly state how big the different fields are. Use the '__' types. So for your case, you probably want to use the "__u32" types. Hope this helps, greg k-h ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel