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/gpu/drm/tilcdc/tilcdc_panel_legacy.c:133:9: sparse: sparse: Initializer entry defined twice
Date: Thu, 03 Dec 2026 19:47:14 +0100	[thread overview]
Message-ID: <20261203194603.scRQLWRv-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "sparse: Initializer entry defined twice"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: "Kory Maincent (TI.com)" <kory.maincent@bootlin.com>
CC: Luca Ceresoli <luca.ceresoli@bootlin.com>
CC: Herve Codina <herve.codina@bootlin.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   007722b8211f7b34fdf21b1e6a9c32497633ea29
commit: 0ff223d991477fa4677dcb0f1fb00065847e2212 drm/tilcdc: Convert legacy panel binding via DT overlay at boot time
date:   10 months ago
:::::: branch date: 2 hours ago
:::::: commit date: 10 months ago
config: arm-randconfig-r2305-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203194603.scRQLWRv-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203194603.scRQLWRv-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: 0ff223d99147 ("drm/tilcdc: Convert legacy panel binding via DT overlay at boot time")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261203194603.scRQLWRv-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c:108:55: sparse: sparse: incorrect type in initializer (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
   drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c:108:55: sparse:     expected unsigned int [usertype]
   drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c:108:55: sparse:     got restricted __be32 [usertype]
   drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c:115:55: sparse: sparse: incorrect type in initializer (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
   drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c:115:55: sparse:     expected unsigned int [usertype]
   drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c:115:55: sparse:     got restricted __be32 [usertype]
>> drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c:133:9: sparse: sparse: Initializer entry defined twice
   drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c:134:9: sparse:   also defined here
   drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c:139:9: sparse: sparse: Initializer entry defined twice
   drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c:140:9: sparse:   also defined here

vim +133 drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c

0ff223d991477f Kory Maincent (TI.com  2026-01-23  131) 
0ff223d991477f Kory Maincent (TI.com  2026-01-23  132) static const struct of_device_id tilcdc_panel_of_match[] __initconst = {
0ff223d991477f Kory Maincent (TI.com  2026-01-23 @133) 	{ .compatible = "ti,tilcdc,panel", },
0ff223d991477f Kory Maincent (TI.com  2026-01-23  134) 	{},
0ff223d991477f Kory Maincent (TI.com  2026-01-23  135) };
0ff223d991477f Kory Maincent (TI.com  2026-01-23  136) 

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

                 reply	other threads:[~2026-12-03 18:47 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=20261203194603.scRQLWRv-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.