linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Taniya Das <tdas@codeaurora.org>
Cc: kbuild-all@lists.01.org, linux-clk@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Stephen Boyd <sboyd@kernel.org>
Subject: [clk:clk-qcom 17/38] drivers/clk/qcom/gcc-sc7280.c:200:37: error: 'gcc_parent_data_0_ao' defined but not used
Date: Thu, 14 Oct 2021 23:53:27 +0800	[thread overview]
Message-ID: <202110142319.FQFXTiZp-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-qcom
head:   1daec8cfebc28bbe596743c34bebd11b80fba990
commit: 3165d1e3c737fd9432e9e68b44a64c47f886f647 [17/38] clk: qcom: gcc: Remove CPUSS clocks control for SC7280
config: arm-buildonly-randconfig-r005-20211014 (attached as .config)
compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/commit/?id=3165d1e3c737fd9432e9e68b44a64c47f886f647
        git remote add clk https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
        git fetch --no-tags clk clk-qcom
        git checkout 3165d1e3c737fd9432e9e68b44a64c47f886f647
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm 

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/clk/qcom/gcc-sc7280.c:200:37: error: 'gcc_parent_data_0_ao' defined but not used [-Werror=unused-const-variable=]
     200 | static const struct clk_parent_data gcc_parent_data_0_ao[] = {
         |                                     ^~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/gcc_parent_data_0_ao +200 drivers/clk/qcom/gcc-sc7280.c

a3cc092196ef635 Taniya Das 2021-02-10  199  
a3cc092196ef635 Taniya Das 2021-02-10 @200  static const struct clk_parent_data gcc_parent_data_0_ao[] = {
a3cc092196ef635 Taniya Das 2021-02-10  201  	{ .fw_name = "bi_tcxo_ao" },
a3cc092196ef635 Taniya Das 2021-02-10  202  	{ .hw = &gcc_gpll0.clkr.hw },
a3cc092196ef635 Taniya Das 2021-02-10  203  	{ .hw = &gcc_gpll0_out_even.clkr.hw },
a3cc092196ef635 Taniya Das 2021-02-10  204  };
a3cc092196ef635 Taniya Das 2021-02-10  205  

:::::: The code at line 200 was first introduced by commit
:::::: a3cc092196ef63570c8744c3ac88c3c6c67ab44b clk: qcom: Add Global Clock controller (GCC) driver for SC7280

:::::: TO: Taniya Das <tdas@codeaurora.org>
:::::: CC: Stephen Boyd <sboyd@kernel.org>

---
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: 32464 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2021-10-14 15:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14 15:53 kernel test robot [this message]
2021-10-14 19:11 ` [clk:clk-qcom 17/38] drivers/clk/qcom/gcc-sc7280.c:200:37: error: 'gcc_parent_data_0_ao' defined but not used Stephen Boyd

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=202110142319.FQFXTiZp-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=sboyd@kernel.org \
    --cc=tdas@codeaurora.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;
as well as URLs for NNTP newsgroup(s).