From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: drivers/thermal/qcom/qcom-spmi-mbg-tm.c:241:9: sparse: warning: Initializer entry defined twice
Date: Tue, 01 Dec 2026 22:13:57 +0100 [thread overview]
Message-ID: <20261201220834.Pzo39Q09-lkp@intel.com> (raw)
::::::
:::::: 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
reply other threads:[~2026-12-01 21:15 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=20261201220834.Pzo39Q09-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.