Skip to contentSkip to conversation

drivers/regulator/raa215300.c:42:12: sparse: sparse: symbol 'xin_name' was not declared. Should it be static?

PATCH kernel test robot 1 participant 1 message Jun 24, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
head:   e68a81cec046bbf4f42ab8c0e99bcbd188a6c286
commit: 7bce16630837c705f72e8fd53a11ae8c236236f4 [2/4] regulator: Add Renesas PMIC RAA215300 driver
config: mips-randconfig-s032-20230625 (https://download.01.org/0day-ci/archive/20230625/[email protected]/config)
compiler: mipsel-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230625/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

sparse warnings: (new ones prefixed by >>)

>> drivers/regulator/raa215300.c:42:12: sparse: sparse: symbol 'xin_name' was not declared. Should it be static?

vim +/xin_name +42 drivers/regulator/raa215300.c

    40	
    41	const char *clkin_name = "clkin";
  > 42	const char *xin_name = "xin";
    43	static struct clk *clk;
    44	
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki