[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202206112036.OEu6i0fw-lkp@intel.com>
Date: Sat, 11 Jun 2022 20:45:07 +0800
From: kernel test robot <lkp@...el.com>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [ardb:efi-rng-seed 5/7] arch/mips/kernel/jump_label.c:94:44: error:
invalid use of undefined type 'struct module'
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-rng-seed
head: 4952aff51641e19ec5c635f12fa2a386f05dc742
commit: 345dcf437d10e6d1576053a7f9a167e9d11edcfe [5/7] jump_label: mips: move module NOP patching into arch code
config: mips-randconfig-r031-20220611 (https://download.01.org/0day-ci/archive/20220611/202206112036.OEu6i0fw-lkp@intel.com/config)
compiler: mips-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://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=345dcf437d10e6d1576053a7f9a167e9d11edcfe
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb efi-rng-seed
git checkout 345dcf437d10e6d1576053a7f9a167e9d11edcfe
# 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=mips SHELL=/bin/bash arch/mips/kernel/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
arch/mips/kernel/jump_label.c:92:6: warning: no previous prototype for 'jump_label_apply_nops' [-Wmissing-prototypes]
92 | void jump_label_apply_nops(struct module *mod)
| ^~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/jump_label.c: In function 'jump_label_apply_nops':
>> arch/mips/kernel/jump_label.c:94:44: error: invalid use of undefined type 'struct module'
94 | struct jump_entry *iter_start = mod->jump_entries;
| ^~
arch/mips/kernel/jump_label.c:95:56: error: invalid use of undefined type 'struct module'
95 | struct jump_entry *iter_stop = iter_start + mod->num_jump_entries;
| ^~
vim +94 arch/mips/kernel/jump_label.c
91
92 void jump_label_apply_nops(struct module *mod)
93 {
> 94 struct jump_entry *iter_start = mod->jump_entries;
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists