[nomadik:mixdown 12/22] drivers/ata/pata_ixp4xx_cf.c:22:10: fatal error: mach/hardware.h: No such file or directory

kernel test robot lkp at intel.com
Tue Jun 1 08:38:01 PDT 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git mixdown
head:   1514e343f28ae1ed3f4ee8bad2b00aa1e8c80100
commit: 50decf3bd06697e8a61ed6b778757cb63fb1ff00 [12/22] pata: ixp4xx: split platform data to its own header
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.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/linusw/linux-nomadik.git/commit/?id=50decf3bd06697e8a61ed6b778757cb63fb1ff00
        git remote add nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
        git fetch --no-tags nomadik mixdown
        git checkout 50decf3bd06697e8a61ed6b778757cb63fb1ff00
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> drivers/ata/pata_ixp4xx_cf.c:22:10: fatal error: mach/hardware.h: No such file or directory
      22 | #include <mach/hardware.h>
         |          ^~~~~~~~~~~~~~~~~
   compilation terminated.


vim +22 drivers/ata/pata_ixp4xx_cf.c

a60338ffcbd4d7 Linus Walleij    2021-04-29 @22  #include <mach/hardware.h>
0df0d0a0ea9ffc Alessandro Zummo 2006-11-14  23  

:::::: The code at line 22 was first introduced by commit
:::::: a60338ffcbd4d71ad8af15e3061995a96f8590f4 ARM/ixp4xx: Make NEED_MACH_IO_H optional

:::::: TO: Linus Walleij <linus.walleij at linaro.org>
:::::: CC: Linus Walleij <linus.walleij at linaro.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 60477 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210601/ec9cb193/attachment-0001.gz>


More information about the linux-arm-kernel mailing list