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

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

 



On Fri, Sep 5, 2014 at 1:58 AM, Piotr Król <piotr.krol@xxxxxxxxx> wrote:
> Fixes: 588b48caf65c ("usbip: move usbip userspace code out of staging")
> which introduced build failure by not changing uapi/usbip.h include path
> according to new location.
>
> Signed-off-by: Piotr Król <piotr.krol@xxxxxxxxx>
> ---
>  include/uapi/linux/Kbuild             | 1 +
>  tools/usb/usbip/libsrc/usbip_common.h | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild
> index 24e9033f8b3f..9955c3b0ef93 100644
> --- a/include/uapi/linux/Kbuild
> +++ b/include/uapi/linux/Kbuild
> @@ -395,6 +395,7 @@ header-y += un.h
>  header-y += unistd.h
>  header-y += unix_diag.h
>  header-y += usbdevice_fs.h
> +header-y += usbip.h
>  header-y += utime.h
>  header-y += utsname.h
>  header-y += uuid.h
> diff --git a/tools/usb/usbip/libsrc/usbip_common.h b/tools/usb/usbip/libsrc/usbip_common.h
> index 5a0e95edf4df..15fe792e1e96 100644
> --- a/tools/usb/usbip/libsrc/usbip_common.h
> +++ b/tools/usb/usbip/libsrc/usbip_common.h
> @@ -15,7 +15,7 @@
>  #include <syslog.h>
>  #include <unistd.h>
>  #include <linux/usb/ch9.h>
> -#include "../../uapi/usbip.h"
> +#include <linux/usbip.h>
>
>  #ifndef USBIDS_FILE
>  #define USBIDS_FILE "/usr/share/hwdata/usb.ids"
> --
> 2.1.0
>

Looks good. Thanks.
--
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