mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
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
Date: Wed, 27 Oct 2021 08:41:10 +0800	[thread overview]
Message-ID: <202110270802.Owl7o3oy-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-10-27  0:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202110270802.Owl7o3oy-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®