All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 12909/14955] drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs'
Date: Wed, 03 Jun 2020 06:54:34 +0800	[thread overview]
Message-ID: <202006030633.cCih47NO%lkp@intel.com> (raw)

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

Hi Owen,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   0e21d4620dd047da7952f44a2e1ac777ded2d57e
commit: 1aca9939bf72893887cb7e3455e44c864bada2f9 [12909/14955] clk: mediatek: Add MT6765 clock support
config: arm64-randconfig-r036-20200602 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        git checkout 1aca9939bf72893887cb7e3455e44c864bada2f9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs' [-Wunused-const-variable]
static const struct mtk_gate_regs ifr0_cg_regs = {
^
>> drivers/clk/mediatek/clk-mt6765.c:543:35: warning: unused variable 'ifr1_cg_regs' [-Wunused-const-variable]
static const struct mtk_gate_regs ifr1_cg_regs = {
^
2 warnings generated.

vim +/ifr0_cg_regs +537 drivers/clk/mediatek/clk-mt6765.c

   536	
 > 537	static const struct mtk_gate_regs ifr0_cg_regs = {
   538		.set_ofs = 0x200,
   539		.clr_ofs = 0x200,
   540		.sta_ofs = 0x200,
   541	};
   542	
 > 543	static const struct mtk_gate_regs ifr1_cg_regs = {
   544		.set_ofs = 0x74,
   545		.clr_ofs = 0x74,
   546		.sta_ofs = 0x74,
   547	};
   548	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

                 reply	other threads:[~2020-06-02 22:54 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=202006030633.cCih47NO%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.