[mkp-scsi:for-next 139/143] drivers/scsi/ufs/ufshcd.c:27:10: fatal error: ufs-fault-injection.h: No such file or directory

From: kernel test robot
Date: Tue Aug 03 2021 - 06:06:46 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
head: 823a1923e2430f3c2e1e1e5989f2dc774d7c14df
commit: 0ee1bbc849c78b54946c8f110cd476e134c7da53 [139/143] scsi: ufs: Add fault injection support
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 10.3.0
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/mkp/scsi.git/commit/?id=0ee1bbc849c78b54946c8f110cd476e134c7da53
git remote add mkp-scsi https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git
git fetch --no-tags mkp-scsi for-next
git checkout 0ee1bbc849c78b54946c8f110cd476e134c7da53
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash drivers/scsi/

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

All errors (new ones prefixed by >>):

>> make[4]: *** No rule to make target 'drivers/scsi/ufs/ufs-fault-injection.o', needed by 'drivers/scsi/ufs/ufshcd-core.o'.
make[4]: *** [scripts/Makefile.build:271: drivers/scsi/ufs/ufshcd.o] Error 1
make[4]: Target '__build' not remade because of errors.
--
>> drivers/scsi/ufs/ufshcd.c:27:10: fatal error: ufs-fault-injection.h: No such file or directory
27 | #include "ufs-fault-injection.h"
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.


vim +27 drivers/scsi/ufs/ufshcd.c

> 27 #include "ufs-fault-injection.h"
28 #include "ufs_bsg.h"
29 #include "ufshcd-crypto.h"
30 #include "ufshpb.h"
31 #include <asm/unaligned.h>
32

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

Attachment: .config.gz
Description: application/gzip