[stffrdhrn:or1k-virt 1/4] drivers/parport/parport_pc.c:68:10: fatal error: asm/parport.h: No such file or directory

From: kernel test robot
Date: Wed Jun 15 2022 - 03:09:35 EST


tree: https://github.com/stffrdhrn/linux.git or1k-virt
head: a0ea15d897c0baa5a4dc8f4ec3c8839527c43e89
commit: a65c4ddd8782b2255f4387fd1273b96dacc7c8a6 [1/4] openrisc: Add pci bus support
config: openrisc-allmodconfig (https://download.01.org/0day-ci/archive/20220615/202206151530.3eDDbhQ1-lkp@xxxxxxxxx/config)
compiler: or1k-linux-gcc (GCC) 11.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://github.com/stffrdhrn/linux/commit/a65c4ddd8782b2255f4387fd1273b96dacc7c8a6
git remote add stffrdhrn https://github.com/stffrdhrn/linux.git
git fetch --no-tags stffrdhrn or1k-virt
git checkout a65c4ddd8782b2255f4387fd1273b96dacc7c8a6
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=openrisc SHELL=/bin/bash drivers/parport/

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

All errors (new ones prefixed by >>):

>> drivers/parport/parport_pc.c:68:10: fatal error: asm/parport.h: No such file or directory
68 | #include <asm/parport.h>
| ^~~~~~~~~~~~~~~
compilation terminated.


vim +68 drivers/parport/parport_pc.c

^1da177e4c3f41 Linus Torvalds 2005-04-16 64
^1da177e4c3f41 Linus Torvalds 2005-04-16 65 #include <linux/parport.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 66 #include <linux/parport_pc.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 67 #include <linux/via.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 @68 #include <asm/parport.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 69

:::::: The code at line 68 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

--
0-DAY CI Kernel Test Service
https://01.org/lkp