Re: [PATCH 11/14] clk: qcom: add support for GCC on SAR2130P

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dmitry,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 7df1e7189cecb6965ce672e820a5ec6cf499b65b]

url:    https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/dt-bindings-clock-qcom-rpmhcc-Add-SAR2130P-compatible/20241018-010608
base:   7df1e7189cecb6965ce672e820a5ec6cf499b65b
patch link:    https://lore.kernel.org/r/20241017-sar2130p-clocks-v1-11-f75e740f0a8d%40linaro.org
patch subject: [PATCH 11/14] clk: qcom: add support for GCC on SAR2130P
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241021/202410210734.7rGICRUi-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241021/202410210734.7rGICRUi-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410210734.7rGICRUi-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/clk/qcom/gcc-sar2130p.c:254:32: warning: unused variable 'gcc_parent_map_4' [-Wunused-const-variable]
     254 | static const struct parent_map gcc_parent_map_4[] = {
         |                                ^~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-sar2130p.c:259:37: warning: unused variable 'gcc_parent_data_4' [-Wunused-const-variable]
     259 | static const struct clk_parent_data gcc_parent_data_4[] = {
         |                                     ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-sar2130p.c:264:32: warning: unused variable 'gcc_parent_map_5' [-Wunused-const-variable]
     264 | static const struct parent_map gcc_parent_map_5[] = {
         |                                ^~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-sar2130p.c:269:37: warning: unused variable 'gcc_parent_data_5' [-Wunused-const-variable]
     269 | static const struct clk_parent_data gcc_parent_data_5[] = {
         |                                     ^~~~~~~~~~~~~~~~~
   4 warnings generated.


vim +/gcc_parent_map_4 +254 drivers/clk/qcom/gcc-sar2130p.c

   253	
 > 254	static const struct parent_map gcc_parent_map_4[] = {
   255		{ P_PCIE_0_PIPE_CLK, 0 },
   256		{ P_BI_TCXO, 2 },
   257	};
   258	
 > 259	static const struct clk_parent_data gcc_parent_data_4[] = {
   260		{ .index = DT_PCIE_0_PIPE },
   261		{ .index = DT_BI_TCXO },
   262	};
   263	
 > 264	static const struct parent_map gcc_parent_map_5[] = {
   265		{ P_PCIE_1_PIPE_CLK, 0 },
   266		{ P_BI_TCXO, 2 },
   267	};
   268	
 > 269	static const struct clk_parent_data gcc_parent_data_5[] = {
   270		{ .index = DT_PCIE_1_PIPE },
   271		{ .index = DT_BI_TCXO },
   272	};
   273	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux