From: kernel test robot <lkp@intel.com>
To: Chintan Patel <chintanlike@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Helge Deller <deller@gmx.de>,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:218:23: sparse: sparse: cast to restricted __be32
Date: Thu, 05 Mar 2026 02:22:38 +0800 [thread overview]
Message-ID: <202603050230.ONrYuERr-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ecc64d2dc9ff9738d2a896beb68e02c2feaf9a02
commit: bf9ec461a7d1b82bbc3fe110fba9e9533879849d fbdev: omapfb: Make FB_DEVICE dependency optional
date: 3 weeks ago
config: nios2-randconfig-r112-20260304 (https://download.01.org/0day-ci/archive/20260305/202603050230.ONrYuERr-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 8.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260305/202603050230.ONrYuERr-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
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603050230.ONrYuERr-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:218:23: sparse: sparse: cast to restricted __be32
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:218:23: sparse: sparse: cast to restricted __be32
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:218:23: sparse: sparse: cast to restricted __be32
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:218:23: sparse: sparse: cast to restricted __be32
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:218:23: sparse: sparse: cast to restricted __be32
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:218:23: sparse: sparse: cast to restricted __be32
vim +218 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c
f76ee892a99e68 Tomi Valkeinen 2015-12-09 210
f76ee892a99e68 Tomi Valkeinen 2015-12-09 211 static int panel_enabled(struct panel_drv_data *ddata)
f76ee892a99e68 Tomi Valkeinen 2015-12-09 212 {
f76ee892a99e68 Tomi Valkeinen 2015-12-09 213 u32 disp_status;
f76ee892a99e68 Tomi Valkeinen 2015-12-09 214 int enabled;
f76ee892a99e68 Tomi Valkeinen 2015-12-09 215
f76ee892a99e68 Tomi Valkeinen 2015-12-09 216 acx565akm_read(ddata, MIPID_CMD_READ_DISP_STATUS,
f76ee892a99e68 Tomi Valkeinen 2015-12-09 217 (u8 *)&disp_status, 4);
f76ee892a99e68 Tomi Valkeinen 2015-12-09 @218 disp_status = __be32_to_cpu(disp_status);
f76ee892a99e68 Tomi Valkeinen 2015-12-09 219 enabled = (disp_status & (1 << 17)) && (disp_status & (1 << 10));
f76ee892a99e68 Tomi Valkeinen 2015-12-09 220 dev_dbg(&ddata->spi->dev,
f76ee892a99e68 Tomi Valkeinen 2015-12-09 221 "LCD panel %senabled by bootloader (status 0x%04x)\n",
f76ee892a99e68 Tomi Valkeinen 2015-12-09 222 enabled ? "" : "not ", disp_status);
f76ee892a99e68 Tomi Valkeinen 2015-12-09 223 return enabled;
f76ee892a99e68 Tomi Valkeinen 2015-12-09 224 }
f76ee892a99e68 Tomi Valkeinen 2015-12-09 225
:::::: The code at line 218 was first introduced by commit
:::::: f76ee892a99e68b55402b8d4b8aeffcae2aff34d omapfb: copy omapdss & displays for omapfb
:::::: TO: Tomi Valkeinen <tomi.valkeinen@ti.com>
:::::: CC: Tomi Valkeinen <tomi.valkeinen@ti.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-03-04 18:23 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=202603050230.ONrYuERr-lkp@intel.com \
--to=lkp@intel.com \
--cc=chintanlike@gmail.com \
--cc=deller@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tzimmermann@suse.de \
/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.