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

From: kernel test robot <hidden>
Date: 2021-06-01 15:40:15
Also in: oe-kbuild-all

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 <redacted>

All errors (new ones prefixed by >>):
quoted
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 [off-list ref]
:::::: CC: Linus Walleij [off-list ref]

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help