linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [clk:clk-qcom 17/38] drivers/clk/qcom/gcc-sc7280.c:200:37: warning: unused variable 'gcc_parent_data_0_ao'
@ 2021-10-14 16:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-14 16:38 UTC (permalink / raw)
  To: Taniya Das; +Cc: llvm, kbuild-all, linux-clk, linux-arm-kernel, Stephen Boyd

[-- Attachment #1: Type: text/plain, Size: 2460 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: arm64-randconfig-r016-20211014 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6c76d0101193aa4eb891a6954ff047eda2f9cf71)
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
        # 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=clang make.cross W=1 ARCH=arm64 

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

All warnings (new ones prefixed by >>):

>> drivers/clk/qcom/gcc-sc7280.c:200:37: warning: unused variable 'gcc_parent_data_0_ao' [-Wunused-const-variable]
   static const struct clk_parent_data gcc_parent_data_0_ao[] = {
                                       ^
   1 warning generated.


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

a3cc092196ef63 Taniya Das 2021-02-10  199  
a3cc092196ef63 Taniya Das 2021-02-10 @200  static const struct clk_parent_data gcc_parent_data_0_ao[] = {
a3cc092196ef63 Taniya Das 2021-02-10  201  	{ .fw_name = "bi_tcxo_ao" },
a3cc092196ef63 Taniya Das 2021-02-10  202  	{ .hw = &gcc_gpll0.clkr.hw },
a3cc092196ef63 Taniya Das 2021-02-10  203  	{ .hw = &gcc_gpll0_out_even.clkr.hw },
a3cc092196ef63 Taniya Das 2021-02-10  204  };
a3cc092196ef63 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: 41089 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

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

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-14 16:38 [clk:clk-qcom 17/38] drivers/clk/qcom/gcc-sc7280.c:200:37: warning: unused variable 'gcc_parent_data_0_ao' 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;
as well as URLs for NNTP newsgroup(s).