tree: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next head: 7af32d156ad75cd88699b28a617857c74c933721 commit: 0f0606ababb185afe1461ebd9abb95d797a5b952 [22/28] Merge branch 'for-5.20/nintendo' into for-next config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220731/202207310604.IJTM9Qx3-lkp@xxxxxxxxx/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 52cd00cabf479aa7eb6dbb063b7ba41ea57bce9e) 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/hid/hid.git/commit/?id=0f0606ababb185afe1461ebd9abb95d797a5b952 git remote add hid https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git git fetch --no-tags hid for-next git checkout 0f0606ababb185afe1461ebd9abb95d797a5b952 # 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=i386 SHELL=/bin/bash drivers/hid/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> drivers/hid/hid-nintendo.c:1514:29: error: redefinition of 'JC_RUMBLE_ZERO_AMP_PKT_CNT' static const unsigned short JC_RUMBLE_ZERO_AMP_PKT_CNT = 5; ^ drivers/hid/hid-nintendo.c:295:29: note: previous definition is here static const unsigned short JC_RUMBLE_ZERO_AMP_PKT_CNT = 5; ^ 1 error generated. vim +/JC_RUMBLE_ZERO_AMP_PKT_CNT +1514 drivers/hid/hid-nintendo.c c4eae84feff3e6 Daniel J. Ogorchock 2021-09-11 1513 669abca7b767f0 Aashish Sharma 2022-07-20 @1514 static const unsigned short JC_RUMBLE_ZERO_AMP_PKT_CNT = 5; 669abca7b767f0 Aashish Sharma 2022-07-20 1515 :::::: The code at line 1514 was first introduced by commit :::::: 669abca7b767f0daa34f6b965a415f7a9045703e HID: nintendo: Fix unused-const-variable compiler warning :::::: TO: Aashish Sharma <shraash@xxxxxxxxxx> :::::: CC: Jiri Kosina <jkosina@xxxxxxx> -- 0-DAY CI Kernel Test Service https://01.org/lkp