mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shuah Khan <shuah@kernel.org>
To: Grygorii Strashko <grygorii.strashko@ti.com>,
	Jonathan Corbet <corbet@lwn.net>
Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
	Shuah Khan <shuah@kernel.org>
Subject: Re: [PATCH] selftests: ptp: include default header install path
Date: Wed, 2 Aug 2017 15:32:42 -0600	[thread overview]
Message-ID: <78aa2a85-ef98-4a43-50e6-57a2775be6f1@kernel.org> (raw)
In-Reply-To: <20170728234450.30186-1-grygorii.strashko@ti.com>

On 07/28/2017 05:44 PM, Grygorii Strashko wrote:
> Add the usr/include subdirectory of the top-level tree to the include
> path to fix build when cross compiling for ARM.
> testptp.c: In function 'main':
> testptp.c:289:15: error: 'struct ptp_clock_caps' has no member named 'cross_timestamping'
>            caps.cross_timestamping);
> 
> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
> ---
>  tools/testing/selftests/ptp/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/testing/selftests/ptp/Makefile b/tools/testing/selftests/ptp/Makefile
> index 83dd42b..d4064c7 100644
> --- a/tools/testing/selftests/ptp/Makefile
> +++ b/tools/testing/selftests/ptp/Makefile
> @@ -1,3 +1,4 @@
> +CFLAGS += -I../../../../usr/include/
>  TEST_PROGS := testptp
>  LDLIBS += -lrt
>  all: $(TEST_PROGS)
> 

Thanks for the patch. Applied to linux-kselftest next for 4.14-rc1

thanks,
-- Shuah

      reply	other threads:[~2017-08-02 21:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-28 23:44 Grygorii Strashko
2017-08-02 21:32 ` Shuah Khan [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=78aa2a85-ef98-4a43-50e6-57a2775be6f1@kernel.org \
    --to=shuah@kernel.org \
    --cc=corbet@lwn.net \
    --cc=grygorii.strashko@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®