All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: drivers/clk/rockchip/clk-rk3506.c:839:9: sparse: warning: Initializer entry defined twice
Date: Tue, 01 Dec 2026 11:39:51 +0100	[thread overview]
Message-ID: <20261201113550.JFhfLLaQ-lkp@intel.com> (raw)

:::::: 
:::::: 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

                 reply	other threads:[~2026-12-01 10:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261201113550.JFhfLLaQ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.