[mcgrof-next:20211118-sysctl-cleanups-set-04-v4 18/41] drivers/base/firmware_loader/fallback_table.c:62:33: error: 'hdr' undeclared; did you mean 'idr'?
From: kernel test robot
Date: Thu Nov 18 2021 - 23:59:44 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20211118-sysctl-cleanups-set-04-v4
head: be45d1710bab2a205a293605be8696ecf8571084
commit: 764cf5b53fe8fefda5bbf35b59d6d179753ea5bc [18/41] firmware_loader: move firmware sysctl to its own files
config: mips-randconfig-r032-20211118 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 11.2.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/mcgrof/linux-next.git/commit/?id=764cf5b53fe8fefda5bbf35b59d6d179753ea5bc
git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git
git fetch --no-tags mcgrof-next 20211118-sysctl-cleanups-set-04-v4
git checkout 764cf5b53fe8fefda5bbf35b59d6d179753ea5bc
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash drivers/base/firmware_loader/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
drivers/base/firmware_loader/fallback_table.c: In function 'unregister_firmware_config_sysctl':
>> drivers/base/firmware_loader/fallback_table.c:62:33: error: 'hdr' undeclared (first use in this function); did you mean 'idr'?
62 | unregister_sysctl_table(hdr);
| ^~~
| idr
drivers/base/firmware_loader/fallback_table.c:62:33: note: each undeclared identifier is reported only once for each function it appears in
vim +62 drivers/base/firmware_loader/fallback_table.c
59
60 void unregister_firmware_config_sysctl(void)
61 {
> 62 unregister_sysctl_table(hdr);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip