Messages in this thread | | | Date | Wed, 27 Oct 2021 08:41:10 +0800 | From | kernel test robot <> | Subject | [andersson:wip/sc8180x-next-20211015 3/61] drivers/usb/typec/ucsi/ucsi_glink.c:622:34: error: 'ucsi_glink_of_match' defined but not used |
| |
tree: https://github.com/andersson/kernel wip/sc8180x-next-20211015 head: 05163e0a8999f011f055a2a0e4d094841b55bc1e commit: 4db2bbaac8fa0a84aef3929ac3e2e6a70eb5239a [3/61] pmic_glink: Add UCSI/PAN prototype config: nios2-allyesconfig (attached as .config) compiler: nios2-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://github.com/andersson/kernel/commit/4db2bbaac8fa0a84aef3929ac3e2e6a70eb5239a git remote add andersson https://github.com/andersson/kernel git fetch --no-tags andersson wip/sc8180x-next-20211015 git checkout 4db2bbaac8fa0a84aef3929ac3e2e6a70eb5239a # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/usb/typec/ucsi/ucsi_glink.c:622:34: error: 'ucsi_glink_of_match' defined but not used [-Werror=unused-const-variable=] 622 | static const struct of_device_id ucsi_glink_of_match[] = { | ^~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
vim +/ucsi_glink_of_match +622 drivers/usb/typec/ucsi/ucsi_glink.c
621 > 622 static const struct of_device_id ucsi_glink_of_match[] = { 623 { .compatible = "qcom,glink-ucsi", }, 624 {} 625 }; 626 //MODULE_DEVICE_TABLE(of, ucsi_glink_of_match); 627
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |