All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grumbach, Emmanuel <emmanuel.grumbach@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [iwlwifi-next:pending 2/37] drivers/net/wireless/intel/iwlwifi/mei/trace.h:14:10: fatal error: mei/sap.h: No such file or directory
Date: Wed, 23 Jun 2021 03:26:05 +0000	[thread overview]
Message-ID: <SA0PR11MB4752276A50B3FBD0549BFE7EF2089@SA0PR11MB4752.namprd11.prod.outlook.com> (raw)
In-Reply-To: <b60bfea1-64df-83c9-f08b-62de44c81e16@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]

> 
> On 6/22/21 11:35 AM, Grumbach, Emmanuel wrote:
> >>>> Could this be a random issue with the bot?
> >>> Hi Luca,
> >>>
> >>> The reproduce step is not inaccurate and misleading, I can reproduce
> >>> it with out-of-tree builds.
> >> Sorry, 'not' is redundant, the reproduce step is wrong.
> >>
> > Reproduce step is wrong?
> > In an case, sap.h is there. So really, I can't understand how this error can
> happen.
> 
> Hi Grumbach,
> 
> It can be reproduced with out-of-tree builds:
> 
>     make ARCH=i386 -C source O=$(pwd) --keep-going
> 
> and I tried to add $(srctree), the problem can be fixed.
> 
> --- a/drivers/net/wireless/intel/iwlwifi/mei/Makefile
> +++ b/drivers/net/wireless/intel/iwlwifi/mei/Makefile
> @@ -3,6 +3,6 @@ obj-$(CONFIG_IWLMEI)    += iwlmei.o
>   iwlmei-y += main.o
>   iwlmei-y += net.o
>   iwlmei-$(CONFIG_IWLWIFI_DEVICE_TRACING) += trace.o -CFLAGS_trace.o
> := -I$(src)
> +CFLAGS_trace.o := -I$(srctree)/$(src)
> 
> -ccflags-y += -I$(src)/../
> +ccflags-y += -I$(srctree)/$(src)/../

Hmm... interesting, not sure I understand the difference between srctree and src
Looks like the kernel is more using srctree though..

      reply	other threads:[~2021-06-23  3:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-20  1:08 [iwlwifi-next:pending 2/37] drivers/net/wireless/intel/iwlwifi/mei/trace.h:14:10: fatal error: mei/sap.h: No such file or directory kernel test robot
2021-06-21  6:54 ` Coelho, Luciano
2021-06-22  0:17   ` Rong Chen
2021-06-22  0:22     ` Rong Chen
2021-06-22  3:35       ` Grumbach, Emmanuel
2021-06-22  8:48         ` Rong Chen
2021-06-23  3:26           ` Grumbach, Emmanuel [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=SA0PR11MB4752276A50B3FBD0549BFE7EF2089@SA0PR11MB4752.namprd11.prod.outlook.com \
    --to=emmanuel.grumbach@intel.com \
    --cc=kbuild-all@lists.01.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.