From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: drivers/ufs/host/ufs-amd-versal2.c:516:9: sparse: warning: Initializer entry defined twice
Date: Mon, 30 Nov 2026 23:28:37 +0100 [thread overview]
Message-ID: <20261130232340.Um4dZPiH-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "low confidence static check warning: drivers/ufs/host/ufs-amd-versal2.c:516: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: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
CC: "Martin K. Petersen" <martin.petersen@oracle.com>
CC: Ajay Neeli <ajay.neeli@amd.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fe6ff8d5d675c01793b9f051d16055dd4aa75244
commit: 769b8b2ffded4cd880669edd83e2952efeeb27f7 scsi: ufs: amd-versal2: Add UFS support for AMD Versal Gen 2 SoC
date: 1 year, 1 month ago
:::::: branch date: 24 hours ago
:::::: commit date: 1 year, 1 month ago
config: arc-randconfig-r2306-20261130 (https://download.01.org/0day-ci/archive/20261130/20261130232340.Um4dZPiH-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/20261130/20261130232340.Um4dZPiH-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: 769b8b2ffded ("scsi: ufs: amd-versal2: Add UFS support for AMD Versal Gen 2 SoC")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261130232340.Um4dZPiH-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/ufs/host/ufs-amd-versal2.c:516:9: sparse: warning: Initializer entry defined twice
drivers/ufs/host/ufs-amd-versal2.c:520:9: sparse: also defined here
vim +516 drivers/ufs/host/ufs-amd-versal2.c
769b8b2ffded4c Sai Krishna Potthuri 2025-10-21 514
769b8b2ffded4c Sai Krishna Potthuri 2025-10-21 515 static const struct of_device_id ufs_versal2_pltfm_match[] = {
769b8b2ffded4c Sai Krishna Potthuri 2025-10-21 @516 {
769b8b2ffded4c Sai Krishna Potthuri 2025-10-21 517 .compatible = "amd,versal2-ufs",
769b8b2ffded4c Sai Krishna Potthuri 2025-10-21 518 .data = &ufs_versal2_hba_vops,
769b8b2ffded4c Sai Krishna Potthuri 2025-10-21 519 },
769b8b2ffded4c Sai Krishna Potthuri 2025-10-21 520 { },
769b8b2ffded4c Sai Krishna Potthuri 2025-10-21 521 };
769b8b2ffded4c Sai Krishna Potthuri 2025-10-21 522 MODULE_DEVICE_TABLE(of, ufs_versal2_pltfm_match);
769b8b2ffded4c Sai Krishna Potthuri 2025-10-21 523
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-11-30 22:29 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=20261130232340.Um4dZPiH-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.