linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: shuah <shuah@kernel.org>
To: Xiao Yang <ice_yangxiao@163.com>, john.stultz@linaro.org
Cc: linux-kselftest@vger.kernel.org, philip.li@intel.com,
	shuah <shuah@kernel.org>
Subject: Re: [PATCH] kselftests/dmabuf-heaps: Fix compiler error in one condition
Date: Thu, 7 Nov 2019 13:37:10 -0700	[thread overview]
Message-ID: <1386a7d3-1114-d0e5-65b0-d81c032ac657@kernel.org> (raw)
In-Reply-To: <e343dbf7-323f-c513-50ca-feda4f0ab6ec@163.com>

On 10/31/19 8:25 PM, Xiao Yang wrote:
> Hi,
> 
> If you fix the issue, kindly add following tag
> Reported-by: kernel test robot <lkp@intel.com>
> 
Do you plan to send another patch? I don't understand
if this meant you think this patch doesn't fix the
problem?

> On 11/1/19 10:04 AM, Xiao Yang wrote:
>> Compiling dmabuf-heaps cannot locate headers and then gets the following
>> error when kernel source code instead of system provides headers:
>> -------------------------------------------
>> dmabuf-heap.c:16:10: fatal error: drm/drm.h: No such file or directory
>> -------------------------------------------
>>
>> Signed-off-by: Xiao Yang <ice_yangxiao@163.com>
>> ---
>>   tools/testing/selftests/dmabuf-heaps/Makefile | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tools/testing/selftests/dmabuf-heaps/Makefile 
>> b/tools/testing/selftests/dmabuf-heaps/Makefile
>> index 8c4c36e2972d..9043e0b5a432 100644
>> --- a/tools/testing/selftests/dmabuf-heaps/Makefile
>> +++ b/tools/testing/selftests/dmabuf-heaps/Makefile
>> @@ -1,5 +1,5 @@
>>   # SPDX-License-Identifier: GPL-2.0
>> -CFLAGS += -static -O3 -Wl,-no-as-needed -Wall
>> +CFLAGS += -static -O3 -Wl,-no-as-needed -Wall -I../../../../usr/include
>>   #LDLIBS += -lrt -lpthread -lm
>>   # these are all "safe" tests that don't modify
> 
> 

thanks,
-- Shuah

  reply	other threads:[~2019-11-07 20:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-01  2:04 Xiao Yang
2019-11-01  2:25 ` Xiao Yang
2019-11-07 20:37   ` shuah [this message]
2019-11-07 20:39     ` John Stultz
2019-11-07 21:10       ` shuah

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=1386a7d3-1114-d0e5-65b0-d81c032ac657@kernel.org \
    --to=shuah@kernel.org \
    --cc=ice_yangxiao@163.com \
    --cc=john.stultz@linaro.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=philip.li@intel.com \
    --subject='Re: [PATCH] kselftests/dmabuf-heaps: Fix compiler error in one condition' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).