[nomadik:ixp4xx-armsoc-v5.13-rc1 6/12] 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
Wed Jun 16 12:33:49 PDT 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ixp4xx-armsoc-v5.13-rc1
head:   6180f3baa56fc0b0bd3c733d8c11582a734d20de
commit: e317a334610f645e147cd8efe6545b42429a9984 [6/12] pata: ixp4xx: split platform data to its own header
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-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=e317a334610f645e147cd8efe6545b42429a9984
        git remote add nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
        git fetch --no-tags nomadik ixp4xx-armsoc-v5.13-rc1
        git checkout e317a334610f645e147cd8efe6545b42429a9984
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 

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

d5d9f7ac58ea10 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
:::::: d5d9f7ac58ea1041375a028f143ca5784693ea86 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: 68137 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210617/ef510444/attachment-0001.gz>


More information about the linux-arm-kernel mailing list