All of lore.kernel.org
 help / color / mirror / Atom feed
* [openeuler:OLK-5.10 23822/30000] drivers/gpu/drm/inspur/inspur_cursor.c:54:32: sparse: sparse: cast removes address space '__iomem' of expression
@ 2024-04-10 20:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-10 20:08 UTC (permalink / raw)
  To: kernel, Hongchen Zhang; +Cc: oe-kbuild-all

tree:   https://gitee.com/openeuler/kernel.git OLK-5.10
head:   f1776d0ca22cf72bfcdc93dced47d9dde9934d97
commit: b9d65551a3adfa87a7c5d33391187ee60a1b501d [23822/30000] drm: add inspur drm driver support
config: x86_64-randconfig-r122-20240410 (https://download.01.org/0day-ci/archive/20240411/202404110414.lls2ROdf-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240411/202404110414.lls2ROdf-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/202404110414.lls2ROdf-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/inspur/inspur_cursor.c:54:32: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/gpu/drm/inspur/inspur_drm_drv.c:30:13: sparse: sparse: symbol 'inspur_drm_interrupt' was not declared. Should it be static?

vim +/__iomem +54 drivers/gpu/drm/inspur/inspur_cursor.c

    49	
    50	#define HW_FLAG_OFFSET 0x01ffff00
    51	#define HW_FLAG_ENABLE 0x1bd40750
    52	unsigned char getKVMHWCursorSetting(struct inspur_drm_private *priv)
    53	{
  > 54		unsigned int value = *(unsigned int *)(priv->fb_map + HW_FLAG_OFFSET);

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-10 20:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10 20:08 [openeuler:OLK-5.10 23822/30000] drivers/gpu/drm/inspur/inspur_cursor.c:54:32: sparse: sparse: cast removes address space '__iomem' of expression kernel test robot

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.