All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/clk/rockchip/clk-rk3506.c:839:9: sparse: warning: Initializer entry defined twice
@ 2026-12-01 10:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-01 10:39 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check first_new_problem: drivers/clk/rockchip/clk-rk3506.c:839:9: sparse: warning: Initializer entry defined twice"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Rosen Penev <rosenp@gmail.com>
CC: Heiko Stuebner <heiko@sntech.de>
CC: Brian Masney <bmasney@redhat.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   19cc08c1a6a650f8e54c0461ff198be6448f425d
commit: 7edfb7fb58ee058298e18fde76a6077ef17d19d8 clk: rockchip: allow COMPILE_TEST builds
date:   7 months ago
:::::: branch date: 13 hours ago
:::::: commit date: 7 months ago
config: arc-randconfig-r2306-20261130 (https://download.01.org/0day-ci/archive/20261201/20261201113550.JFhfLLaQ-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 9.5.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261201/20261201113550.JFhfLLaQ-lkp@intel.com/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
| Fixes: 7edfb7fb58ee ("clk: rockchip: allow COMPILE_TEST builds")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261201113550.JFhfLLaQ-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/clk/rockchip/clk-rk3506.c:839:9: sparse: warning: Initializer entry defined twice
   drivers/clk/rockchip/clk-rk3506.c:843:9: sparse:   also defined here
--
>> drivers/clk/rockchip/clk-rk3576.c:1830:9: sparse: warning: Initializer entry defined twice
   drivers/clk/rockchip/clk-rk3576.c:1834:9: sparse:   also defined here
--
>> drivers/clk/rockchip/clk-rk3562.c:1071:9: sparse: warning: Initializer entry defined twice
   drivers/clk/rockchip/clk-rk3562.c:1075:9: sparse:   also defined here

vim +839 drivers/clk/rockchip/clk-rk3506.c

18191dd750e6c9 Elaine Zhang 2025-11-21  837  
18191dd750e6c9 Elaine Zhang 2025-11-21  838  static const struct of_device_id clk_rk3506_match_table[] = {
18191dd750e6c9 Elaine Zhang 2025-11-21 @839  	{
18191dd750e6c9 Elaine Zhang 2025-11-21  840  		.compatible = "rockchip,rk3506-cru",
18191dd750e6c9 Elaine Zhang 2025-11-21  841  		.data = &clk_rk3506_cru_init,
18191dd750e6c9 Elaine Zhang 2025-11-21  842  	},
18191dd750e6c9 Elaine Zhang 2025-11-21  843  	{ }
18191dd750e6c9 Elaine Zhang 2025-11-21  844  };
18191dd750e6c9 Elaine Zhang 2025-11-21  845  

:::::: The code at line 839 was first introduced by commit
:::::: 18191dd750e6c9e17fabefd09ff418dd587bcdb9 clk: rockchip: Add clock and reset driver for RK3506

:::::: TO: Elaine Zhang <zhangqing@rock-chips.com>
:::::: CC: Heiko Stuebner <heiko@sntech.de>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-01 10:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 10:39 drivers/clk/rockchip/clk-rk3506.c:839:9: sparse: warning: Initializer entry defined twice kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.