[mcgrof-next:20211118-sysctl-cleanups-set-04-v4 18/41] drivers/base/firmware_loader/fallback_table.c:62:26: error: use of undeclared identifier 'hdr'

From: kernel test robot
Date: Fri Nov 19 2021 - 01:18:45 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: hexagon-randconfig-r014-20211118 (attached as .config)
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=clang make.cross W=1 O=build_dir ARCH=hexagon 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:62:26: error: use of undeclared identifier 'hdr'
unregister_sysctl_table(hdr);
^
1 error generated.


vim +/hdr +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