[cxl-cxl:pending 4/6] drivers/cxl/core/regs.c:7:10: fatal error: 'mem.h' file not found

From: kernel test robot
Date: Fri Jul 30 2021 - 23:51:21 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git pending
head: 13a47ea9e8feb1362eaf4601b5b40f7cea9174ff
commit: d32f5d14e6a5a1ed635dcda5f53b2579e823b39a [4/6] cxl/core: Move register mapping infrastructure
config: x86_64-randconfig-a004-20210730 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4f71f59bf3d9914188a11d0c41bedbb339d36ff5)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/commit/?id=d32f5d14e6a5a1ed635dcda5f53b2579e823b39a
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 d32f5d14e6a5a1ed635dcda5f53b2579e823b39a
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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/regs.c:7:10: fatal error: 'mem.h' file not found
#include <mem.h>
^~~~~~~
1 error generated.


vim +7 drivers/cxl/core/regs.c

3
4 #include <linux/device.h>
5 #include <linux/slab.h>
6 #include <linux/pci.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