* drivers/thermal/qcom/qcom-spmi-mbg-tm.c:241:9: sparse: warning: Initializer entry defined twice
@ 2026-12-01 21:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-01 21:13 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: drivers/thermal/qcom/qcom-spmi-mbg-tm.c:241: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: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
CC: Dmitry Baryshkov <lumag@kernel.org>
Hi Daniel,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 693c2e04e3f1d4c59af236e1211b7b8cb165a790
commit: c5f7c0d35c552cbaf1f0630a9731a04f7fe03948 thermal/drivers/qcom/spm mbg tm: Fix missing bitfield header
date: 4 months ago
:::::: branch date: 4 hours ago
:::::: commit date: 4 months ago
config: arc-randconfig-r2306-20261130 (https://download.01.org/0day-ci/archive/20261201/20261201220834.Pzo39Q09-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/20261201220834.Pzo39Q09-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: c5f7c0d35c55 ("thermal/drivers/qcom/spm mbg tm: Fix missing bitfield header")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261201220834.Pzo39Q09-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/thermal/qcom/qcom-spmi-mbg-tm.c:241:9: sparse: warning: Initializer entry defined twice
drivers/thermal/qcom/qcom-spmi-mbg-tm.c:242:9: sparse: also defined here
vim +241 drivers/thermal/qcom/qcom-spmi-mbg-tm.c
c3dce117333c0e Satya Priya Kakitapalli 2026-07-22 239
c3dce117333c0e Satya Priya Kakitapalli 2026-07-22 240 static const struct of_device_id mbg_tm_match_table[] = {
c3dce117333c0e Satya Priya Kakitapalli 2026-07-22 @241 { .compatible = "qcom,pm8775-mbg-tm" },
c3dce117333c0e Satya Priya Kakitapalli 2026-07-22 242 { }
c3dce117333c0e Satya Priya Kakitapalli 2026-07-22 243 };
c3dce117333c0e Satya Priya Kakitapalli 2026-07-22 244 MODULE_DEVICE_TABLE(of, mbg_tm_match_table);
c3dce117333c0e Satya Priya Kakitapalli 2026-07-22 245
:::::: The code at line 241 was first introduced by commit
:::::: c3dce117333c0e2fbdb35228d4960442d2b1ef54 thermal/drivers/qcom: Add support for Qualcomm MBG thermal monitoring
:::::: TO: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
:::::: CC: Daniel Lezcano <daniel.lezcano@kernel.org>
--
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 21:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 21:13 drivers/thermal/qcom/qcom-spmi-mbg-tm.c:241: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.