[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111191210.QZgtGp7r-lkp@intel.com>
Date: Fri, 19 Nov 2021 12:59:18 +0800
From: kernel test robot <lkp@...el.com>
To: Xiaoming Ni <nixiaoming@...wei.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Luis Chamberlain <mcgrof@...nel.org>
Subject: [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'?
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@...el.com>
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@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (35611 bytes)
Powered by blists - more mailing lists