On Tue, 31 Jan 2012, Stefan Becker wrote: > Hi, > > > > The usb/ch9.h will be installed to /usr/include/linux, > > > and le16_to_cpu() is only defined for kernel code. > > > Without this patch, user space compile will be broken. > > > Special thanks to Stefan Becker > > > > It would be much better to change ch9.h to use __le16_to_cpu(), which > > is defined for both kernel and user code, right? > > That of course is the other option I suggested. But I deferred the > decision to the original author, because I didn't know if the new > function should be visible to the user space or not. Sure it should. No reason why not, and it might be useful to somebody. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html