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

From: Biju Das
Date: Thu Jul 06 2023 - 03:52:32 EST


Hi Kernel test robot,

A patch[1] is already posted for fixing this issue
[1] https://patchwork.kernel.org/project/linux-renesas-soc/patch/20230629104200.102663-1-biju.das.jz@xxxxxxxxxxxxxx/

Cheers,
Biju

> -----Original Message-----
> From: kernel test robot <lkp@xxxxxxxxx>
> Sent: Thursday, July 6, 2023 8:48 AM
> To: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> Cc: oe-kbuild-all@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Mark
> Brown <broonie@xxxxxxxxxx>
> Subject: drivers/regulator/raa215300.c:42:12: sparse: sparse: symbol
> 'xin_name' was not declared. Should it be static?
>
> tree:
> https://git.ke/
> rnel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Ftorvalds%2Flinux.git&data=
> 05%7C01%7Cbiju.das.jz%40bp.renesas.com%7Ce3f3ca7fb3df491ae9a608db7df5603
> 3%7C53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C638242265057971867%7CUnkn
> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC
> JXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5JI%2BnSc2P4jtEtPt%2FqiNh%2F14plQuAsv
> nr5MnYKsI4u4%3D&reserved=0 master
> head: c17414a273b81fe4e34e11d69fc30cc8b1431614
> commit: 7bce16630837c705f72e8fd53a11ae8c236236f4 regulator: Add Renesas
> PMIC RAA215300 driver
> date: 13 days ago
> config: i386-randconfig-i061-20230706
> (https://downl/
> oad.01.org%2F0day-ci%2Farchive%2F20230706%2F202307061555.Gx6hEBT4-
> lkp%40intel.com%2Fconfig&data=05%7C01%7Cbiju.das.jz%40bp.renesas.com%7Ce
> 3f3ca7fb3df491ae9a608db7df56033%7C53d82571da1947e49cb4625a166a4a2a%7C0%7
> C0%7C638242265057971867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQ
> IjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Oct%2Fb
> Vber853uFXBq5djHVUhWfGgx%2Bslq%2F2eBZW%2FRy4%3D&reserved=0)
> compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
> reproduce:
> (https://downl/
> oad.01.org%2F0day-ci%2Farchive%2F20230706%2F202307061555.Gx6hEBT4-
> lkp%40intel.com%2Freproduce&data=05%7C01%7Cbiju.das.jz%40bp.renesas.com%
> 7Ce3f3ca7fb3df491ae9a608db7df56033%7C53d82571da1947e49cb4625a166a4a2a%7C
> 0%7C0%7C638242265057971867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL
> CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mLR4
> jlOOOebkI97gUy%2BhDTm26z0oqbwFh8kKXG1Gjwo%3D&reserved=0)
>
> 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%2Foe-kbuild-all%2F202307061555.Gx6hEBT4-lkp%40intel.com%2F
> | &data=05%7C01%7Cbiju.das.jz%40bp.renesas.com%7Ce3f3ca7fb3df491ae9a608d
> | b7df56033%7C53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C638242265057971
> | 867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi
> | I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=q8KGqKPKSdpT4ojrGtzna4o
> | 0nMVKF1s%2F7qoSwXprJ2o%3D&reserved=0
>
> sparse warnings: (new ones prefixed by >>)
> >> drivers/regulator/raa215300.c:42:12: sparse: sparse: symbol
> 'xin_name' was not declared. Should it be static?
>
> --
> 0-DAY CI Kernel Test Service
> https://github/
> .com%2Fintel%2Flkp-
> tests%2Fwiki&data=05%7C01%7Cbiju.das.jz%40bp.renesas.com%7Ce3f3ca7fb3df4
> 91ae9a608db7df56033%7C53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C6382422
> 65057971867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi
> LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=r8lSb3miJtyGUa2Cuz8
> 60cVTGlLU3Mhar3PJdRLUBSU%3D&reserved=0