mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [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
@ 2021-10-27  0:41 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-27  0:41 UTC (permalink / raw)
  To: Bjorn Andersson; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1747 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 61445 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-27  0:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27  0:41 [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 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®