linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [stffrdhrn:or1k-virt 1/4] drivers/parport/parport_pc.c:68:10: fatal error: asm/parport.h: No such file or directory
@ 2022-06-15  7:08 kernel test robot
  2022-06-15  7:29 ` Stafford Horne
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-06-15  7:08 UTC (permalink / raw)
  To: Stafford Horne; +Cc: kbuild-all, linux-kernel

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@intel.com/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@intel.com>

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@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [stffrdhrn:or1k-virt 1/4] drivers/parport/parport_pc.c:68:10: fatal error: asm/parport.h: No such file or directory
  2022-06-15  7:08 [stffrdhrn:or1k-virt 1/4] drivers/parport/parport_pc.c:68:10: fatal error: asm/parport.h: No such file or directory kernel test robot
@ 2022-06-15  7:29 ` Stafford Horne
  0 siblings, 0 replies; 2+ messages in thread
From: Stafford Horne @ 2022-06-15  7:29 UTC (permalink / raw)
  To: kernel test robot; +Cc: kbuild-all, linux-kernel

On Wed, Jun 15, 2022 at 03:08:55PM +0800, kernel test robot wrote:
> 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@intel.com/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@intel.com>
> 
> 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.

Interesting, since commit 66bcd06099bb ("parport_pc: Also enable driver for PCI
systems") all PCI systems also need to support parport.  I have added a generic
include to provide asm/parport.h now to this branch.

Thanks,

-Stafford

> 
> 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@ppc970.osdl.org>
> :::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://01.org/lkp

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-15  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-15  7:08 [stffrdhrn:or1k-virt 1/4] drivers/parport/parport_pc.c:68:10: fatal error: asm/parport.h: No such file or directory kernel test robot
2022-06-15  7:29 ` Stafford Horne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).