[dtor-input:next 34/37] drivers/input/keyboard/mtk-pmic-keys.c:93:22: error: use of undeclared identifier 'MT6359_TOPSTATUS'
From: kernel test robot <hidden>
Date: 2022-05-04 19:29:27
Also in:
llvm
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next head: 75e97ccaf557d09c5e176d137fde6fcedc35a150 commit: 0f97adf6431456cd8155cf6fa803ed5bf441444c [34/37] Input: mtk-pmic-keys - add support for MT6359 config: hexagon-randconfig-r041-20220502 (https://download.01.org/0day-ci/archive/20220505/202205050316.EFiBxD4E-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 363b3a645a1e30011cc8da624f13dac5fd915628) 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/dtor/input.git/commit/?id=0f97adf6431456cd8155cf6fa803ed5bf441444c git remote add dtor-input https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git git fetch --no-tags dtor-input next git checkout 0f97adf6431456cd8155cf6fa803ed5bf441444c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/input/keyboard/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All errors (new ones prefixed by >>):
quoted
drivers/input/keyboard/mtk-pmic-keys.c:93:22: error: use of undeclared identifier 'MT6359_TOPSTATUS'
MTK_PMIC_KEYS_REGS(MT6359_TOPSTATUS,
^
drivers/input/keyboard/mtk-pmic-keys.c:96:22: error: use of undeclared identifier 'MT6359_TOPSTATUS'
MTK_PMIC_KEYS_REGS(MT6359_TOPSTATUS,
^quoted
drivers/input/keyboard/mtk-pmic-keys.c:98:18: error: use of undeclared identifier 'MT6359_TOP_RST_MISC'
.pmic_rst_reg = MT6359_TOP_RST_MISC,
^
3 errors generated.
vim +/MT6359_TOPSTATUS +93 drivers/input/keyboard/mtk-pmic-keys.c
90
91 static const struct mtk_pmic_keys_pdata mt6359_pdata = {
92 .keys_regs[MTK_PMIC_PWRKEY_INDEX] =
> 93 MTK_PMIC_KEYS_REGS(MT6359_TOPSTATUS,
94 0x2, MT6359_PSC_TOP_INT_CON0, 0x5),
95 .keys_regs[MTK_PMIC_HOMEKEY_INDEX] =
96 MTK_PMIC_KEYS_REGS(MT6359_TOPSTATUS,
97 0x8, MT6359_PSC_TOP_INT_CON0, 0xa),
> 98 .pmic_rst_reg = MT6359_TOP_RST_MISC,
99 .has_key_release_irqs = true,
100 };
101
--
0-DAY CI Kernel Test Service
https://01.org/lkp