Thread (2 messages) 2 messages, 2 authors, 2021-05-23

[cryptodev:master 43/53] drivers/char/hw_random/ixp4xx-rng.c:26:10: fatal error: 'mach/hardware.h' file not found

From: kernel test robot <hidden>
Date: 2021-05-22 14:49:16
Also in: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
head:   acbc3fb26feed173d9ca6b0a16d0bed01c40f339
commit: 3c0907bc4c47475734ffe21accc31261527dbdf5 [43/53] hwrng: omap - Enable driver for TI K3 family
config: arm64-randconfig-r026-20210522 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e84a9b9bb3051c35dea993cdad7b3d2575638f85)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=3c0907bc4c47475734ffe21accc31261527dbdf5
        git remote add cryptodev https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
        git fetch --no-tags cryptodev master
        git checkout 3c0907bc4c47475734ffe21accc31261527dbdf5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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/char/hw_random/ixp4xx-rng.c:26:10: fatal error: 'mach/hardware.h' file not found
   #include <mach/hardware.h>
            ^~~~~~~~~~~~~~~~~
   1 error generated.


vim +26 drivers/char/hw_random/ixp4xx-rng.c

d7174bcb919c15 Michael Buesch 2006-06-26  24  
d7174bcb919c15 Michael Buesch 2006-06-26  25  #include <asm/io.h>
a09e64fbc0094e Russell King   2008-08-05 @26  #include <mach/hardware.h>
d7174bcb919c15 Michael Buesch 2006-06-26  27  
d7174bcb919c15 Michael Buesch 2006-06-26  28  

:::::: The code at line 26 was first introduced by commit
:::::: a09e64fbc0094e3073dbb09c3b4bfe4ab669244b [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach

:::::: TO: Russell King [off-list ref]
:::::: CC: Russell King [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