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]

 



Hello.

On 31-01-2012 8:12, 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

Reported-by: Stefan Becker<chemobejk@xxxxxxxxx>
Signed-off-by: Kuninori Morimoto<kuninori.morimoto.gx@xxxxxxxxxxx>
---
- Greg, Felipe

3.1/3.2 kernel seems need this patch for stable

    Then you need to add this line ater your signoff:

Cc: stable@xxxxxxxxxxxxxxx # 3.1, 3.2

WBR, Sergei
--
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