[linux-next:master 1810/2527] drivers/clk/qcom/camcc-sm7150.c:1900:15: sparse: sparse: symbol 'camcc_sm7150_hws' was not declared. Should it be static?

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9d99040b1bc8dbf385a8aa535e9efcdf94466e19
commit: 9f0532da42261476561c0a683097f6de82e7c3ed [1810/2527] clk: qcom: Add Camera Clock Controller driver for SM7150
config: microblaze-randconfig-r113-20240531 (https://download.01.org/0day-ci/archive/20240531/202405310927.8DwxnKbA-lkp@xxxxxxxxx/config)
compiler: microblaze-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240531/202405310927.8DwxnKbA-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/202405310927.8DwxnKbA-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/clk/qcom/camcc-sm7150.c:1900:15: sparse: sparse: symbol 'camcc_sm7150_hws' was not declared. Should it be static?

vim +/camcc_sm7150_hws +1900 drivers/clk/qcom/camcc-sm7150.c

  1899	
> 1900	struct clk_hw *camcc_sm7150_hws[] = {
  1901		[CAMCC_PLL0_OUT_EVEN] = &camcc_pll0_out_even.hw,
  1902		[CAMCC_PLL0_OUT_ODD] = &camcc_pll0_out_odd.hw,
  1903		[CAMCC_PLL1_OUT_EVEN] = &camcc_pll1_out_even.hw,
  1904		[CAMCC_PLL2_OUT_EARLY] = &camcc_pll2_out_early.hw,
  1905		[CAMCC_PLL3_OUT_EVEN] = &camcc_pll3_out_even.hw,
  1906		[CAMCC_PLL4_OUT_EVEN] = &camcc_pll4_out_even.hw,
  1907	};
  1908	

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux