[clk:clk-qcom 17/38] drivers/clk/qcom/gcc-sc7280.c:200:37: warning: unused variable 'gcc_parent_data_0_ao'

From: kernel test robot <hidden>
Date: 2021-10-14 16:39:41
Also in: linux-clk, llvm, oe-kbuild-all

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 <redacted>

All warnings (new ones prefixed by >>):
quoted
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 [off-list ref]
:::::: CC: Stephen Boyd [off-list ref]

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help