[firefly] [PATCH] usb: usbip: fix usbip.h path in userspace tool

Valentina Manea valentina.manea.m at gmail.com
Thu Sep 4 11:59:40 EEST 2014


On Thu, Sep 4, 2014 at 2:41 AM, Greg KH <gregkh at linuxfoundation.org> wrote:
>
> Shouldn't you be able to use the same "path" as ch9.h uses?  It's a uapi
> .h file, no relative paths should be needed.
>

For the userspace tool, the build system only looks for headers in the
system default locations, such as /usr/include. Hence, this won't work
for systems that don't have kernel 3.17 headers. This patch is a
pretty nasty hack to get it to compile within the kernel tree.
I wonder whether we can make this self-contained by duplicating the
header's content inside usbip_common.h. Greg, Shuah, what do you
think?

Thanks,
Valentina


More information about the firefly mailing list