From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751214AbdHBVcr (ORCPT ); Wed, 2 Aug 2017 17:32:47 -0400 Received: from resqmta-po-05v.sys.comcast.net ([96.114.154.164]:50094 "EHLO resqmta-po-05v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751073AbdHBVcp (ORCPT ); Wed, 2 Aug 2017 17:32:45 -0400 Reply-To: shuah@kernel.org Subject: Re: [PATCH] selftests: ptp: include default header install path To: Grygorii Strashko , Jonathan Corbet Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20170728234450.30186-1-grygorii.strashko@ti.com> From: Shuah Khan Message-ID: <78aa2a85-ef98-4a43-50e6-57a2775be6f1@kernel.org> Date: Wed, 2 Aug 2017 15:32:42 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170728234450.30186-1-grygorii.strashko@ti.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfJQ+6cu8IS6ADB1e2cPsynQnwJQqkvsTMkXVKYcupDNLwGF8zQOlk2138ACauBTFtu8psAPFIhqfbpB+WdxhFHnbhFxctsQ4ovJUb4AUr7qPtkatJJZs l7pni4xRK+uezVY9sLo8cZ6+xdJRknqhCzKYLtQEwWgJpBEb1zgCs2nrMY9ePKU0gb4BvUemHWAJ4Kdl4VxNw1a23JT2na6xiQ3+nPBxX/GFbhit9JJfy22g OoMXCVV+XQ/0A4SVcj5NgBPoQg85i/9g+j/7QyPHStlWNrG/9fCEkhB1J6p1QQBPPgqDNEXqVWDtWM0ylk/KSQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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