[cxl-cxl:pending 1/6] drivers/cxl/core/bus.c:9:10: fatal error: cxl.h: No such file or directory

From: kernel test robot
Date: Fri Jul 30 2021 - 22:30:26 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git pending
head: 13a47ea9e8feb1362eaf4601b5b40f7cea9174ff
commit: 755a1ca3ccf095e5eed16e340bb82300bdbdc5b5 [1/6] cxl: Move cxl_core to new directory
config: x86_64-randconfig-c002-20210730 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/commit/?id=755a1ca3ccf095e5eed16e340bb82300bdbdc5b5
git remote add cxl-cxl https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git
git fetch --no-tags cxl-cxl pending
git checkout 755a1ca3ccf095e5eed16e340bb82300bdbdc5b5
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/cxl/core/bus.c:9:10: fatal error: cxl.h: No such file or directory
9 | #include <cxl.h>
| ^~~~~~~
compilation terminated.


vim +9 drivers/cxl/core/bus.c

> 9 #include <cxl.h>
10 #include <mem.h>
11

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip