From: Michal Nazarewicz <mina86@mina86.com>
To: maxin.john@gmail.com, gregkh@linuxfoundation.org
Cc: matt.fleming@intel.com, matthias.fend@wolfvision.net,
balbi@ti.com, linux-usb@vger.kernel.org, hpa@zytor.com,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
"Maxin B. John" <maxin.john@enea.com>
Subject: Re: [PATCH] tools: usb: ffs-test: Fix build failure
Date: Thu, 21 Feb 2013 07:42:09 +0100 [thread overview]
Message-ID: <xa1tip5mdv7i.fsf@mina86.com> (raw)
In-Reply-To: <1361404671-11713-1-git-send-email-maxin.john@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]
On Thu, Feb 21 2013, maxin.john@gmail.com wrote:
> From: "Maxin B. John" <maxin.john@enea.com>
>
> Fixes this build failure:
> gcc -Wall -Wextra -g -lpthread -I../include -o testusb testusb.c
> gcc -Wall -Wextra -g -lpthread -I../include -o ffs-test ffs-test.c
> In file included from ffs-test.c:41:0:
> ../../include/linux/usb/functionfs.h:4:39: fatal error:
> uapi/linux/usb/functionfs.h: No such file or directory
> compilation terminated.
> make: *** [ffs-test] Error 1
>
> Signed-off-by: Maxin B. John <maxin.john@enea.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
> ---
> tools/usb/ffs-test.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/tools/usb/ffs-test.c b/tools/usb/ffs-test.c
> index 8674b9e..fe1e66b 100644
> --- a/tools/usb/ffs-test.c
> +++ b/tools/usb/ffs-test.c
> @@ -38,7 +38,7 @@
> #include <unistd.h>
> #include <tools/le_byteshift.h>
>
> -#include "../../include/linux/usb/functionfs.h"
> +#include "../../include/uapi/linux/usb/functionfs.h"
>
>
> /******************** Little Endian Handling ********************************/
> --
> 1.7.7
>
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał “mina86” Nazarewicz (o o)
ooo +----<email/xmpp: mpn@google.com>--------------ooO--(_)--Ooo--
[-- Attachment #2.1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2.2: Type: application/pgp-signature, Size: 835 bytes --]
prev parent reply other threads:[~2013-02-21 6:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-20 23:57 [PATCH] tools: usb: ffs-test: Fix build failure maxin.john
2013-02-21 0:06 ` Greg KH
2013-02-21 0:22 ` Maxin B. John
2013-02-21 6:44 ` Michal Nazarewicz
2013-02-21 6:42 ` Michal Nazarewicz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xa1tip5mdv7i.fsf@mina86.com \
--to=mina86@mina86.com \
--cc=balbi@ti.com \
--cc=gregkh@linuxfoundation.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=matt.fleming@intel.com \
--cc=matthias.fend@wolfvision.net \
--cc=maxin.john@enea.com \
--cc=maxin.john@gmail.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.