* [ardb:efi-rng-seed 5/7] arch/mips/kernel/jump_label.c:94:44: error: invalid use of undefined type 'struct module'
@ 2022-06-11 12:45 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-11 12:45 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: kbuild-all, linux-kernel
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@intel.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-11 12:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11 12:45 [ardb:efi-rng-seed 5/7] arch/mips/kernel/jump_label.c:94:44: error: invalid use of undefined type 'struct module' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®