Messages in this thread | | | Date | Wed, 6 Jul 2022 19:55:12 +0800 | From | kernel test robot <> | Subject | [ammarfaizi2-block:crng/random/master 1/1] include/linux/random.h:109:10: fatal error: asm/archrandom.h: No such file or directory |
| |
tree: https://github.com/ammarfaizi2/linux-block crng/random/master head: b06ae5cc5acfc776074b6fa7580a3e33fd999734 commit: b06ae5cc5acfc776074b6fa7580a3e33fd999734 [1/1] random: remove CONFIG_ARCH_RANDOM config: riscv-randconfig-r042-20220703 (https://download.01.org/0day-ci/archive/20220706/202207061910.VG60q3Ln-lkp@intel.com/config) compiler: riscv32-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/ammarfaizi2/linux-block/commit/b06ae5cc5acfc776074b6fa7580a3e33fd999734 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block crng/random/master git checkout b06ae5cc5acfc776074b6fa7580a3e33fd999734 # 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=riscv SHELL=/bin/bash
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 >>):
In file included from include/linux/net.h:18, from include/linux/skbuff.h:26, from include/linux/if_ether.h:19, from include/media/tveeprom.h:8, from drivers/media/usb/cx231xx/cx231xx-cards.c:18: >> include/linux/random.h:109:10: fatal error: asm/archrandom.h: No such file or directory 109 | #include <asm/archrandom.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated.
vim +109 include/linux/random.h
5960164fde9bc2 Joe Eykholt 2010-05-26 108 63d77173266c17 H. Peter Anvin 2011-07-31 @109 #include <asm/archrandom.h> b06ae5cc5acfc7 Jason A. Donenfeld 2022-07-05 110
:::::: The code at line 109 was first introduced by commit :::::: 63d77173266c1791f1553e9e8ccea65dc87c4485 random: Add support for architectural random hooks
:::::: TO: H. Peter Anvin <hpa@zytor.com> :::::: CC: H. Peter Anvin <hpa@zytor.com>
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |