[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMxuvawsr76VrugtQW4kUk47qP1=GQ1QYQJYX0mPdrR19WWMMA@mail.gmail.com>
Date: Thu, 15 Feb 2018 10:59:22 +0100
From: Marc-Andre Lureau <mlureau@...hat.com>
To: kbuild test robot <fengguang.wu@...el.com>
Cc: Marc-André Lureau <marcandre.lureau@...hat.com>,
kbuild-all@...org, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
"Michael S. Tsirkin" <mst@...hat.com>
Subject: Re: [vhost:vhost 22/28] drivers/firmware/qemu_fw_cfg.c:35:10: fatal
error: linux/fw_cfg.h: No such file or directory
On Wed, Feb 14, 2018 at 7:21 PM, kbuild test robot
<fengguang.wu@...el.com> wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
> head: 20b12f92d80433b9bd0d54b9712897501ac66fdd
> commit: f59055103f6930c771fc597c42a92cbe997a765d [22/28] fw_cfg: add a public uapi header
> config: i386-randconfig-i0-201806 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> git checkout f59055103f6930c771fc597c42a92cbe997a765d
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
>>> drivers/firmware/qemu_fw_cfg.c:35:10: fatal error: linux/fw_cfg.h: No such file or directory
> #include <linux/fw_cfg.h>
> ^~~~~~~~~~~~~~~~
> compilation terminated.
>
> vim +35 drivers/firmware/qemu_fw_cfg.c
>
> > 35 #include <linux/fw_cfg.h>
For some reasons, my cflags have -I include/uapi.
Let's be more explicit:
-#include <linux/fw_cfg.h>
+#include <uapi/linux/fw_cfg.h>
> 36
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
Powered by blists - more mailing lists