Re: [PATCH] usb: ch9.h: bugfix: usb_endpoint_maxp() is wrapped with __KERNEL__

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 30 Jan 2012, Kuninori Morimoto wrote:

> 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?

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux