drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:218:23: sparse: sparse: cast to restricted __be32
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi Chintan, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 818bebeb63dd6bf5f4e07e145f6cdbace520a34c commit: bf9ec461a7d1b82bbc3fe110fba9e9533879849d fbdev: omapfb: Make FB_DEVICE dependency optional date: 6 months ago config: arm64-randconfig-r112-20260821 (https://download.01.org/0day-ci/archive/20260821/[email protected]/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 935bfc708590c60147a79c7df145bb6e68b1d388) sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260821/[email protected]/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: bf9ec461a7d1 ("fbdev: omapfb: Make FB_DEVICE dependency optional") | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ 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 <[email protected]> :::::: CC: Tomi Valkeinen <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki