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

From: kernel test robot
Date: Sat Jul 31 2021 - 01:50:29 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git pending
head: 13a47ea9e8feb1362eaf4601b5b40f7cea9174ff
commit: 58adfedb37b466a20f6031f99f96c9135ba32107 [3/6] cxl/core: Move pmem functionality
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=58adfedb37b466a20f6031f99f96c9135ba32107
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 58adfedb37b466a20f6031f99f96c9135ba32107
# 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/pmem.c:6:10: fatal error: cxl.h: No such file or directory
6 | #include <cxl.h>
| ^~~~~~~
compilation terminated.


vim +6 drivers/cxl/core/pmem.c

3
4 #include <linux/device.h>
5 #include <linux/slab.h>
> 6 #include <cxl.h>
7 #include <mem.h>
8

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

Attachment: .config.gz
Description: application/gzip