All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 10010/13260] drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:198:9: sparse: sparse: cast removes address space '__iomem' of expression
@ 2020-08-01 18:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-08-01 18:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2716 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   01830e6c042e8eb6eb202e05d7df8057135b4c26
commit: 34cf8cae288e3d2cee08ab17fe458aec636d9def [10010/13260] drm/nouveau/kms/nv50-: convert wndw sema_set() to new push macros
config: i386-randconfig-s032-20200801 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-115-g5fc204f2-dirty
        git checkout 34cf8cae288e3d2cee08ab17fe458aec636d9def
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:198:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:198:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:198:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:198:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:198:9: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/gpu/drm/nouveau/dispnv50/base507c.c:176:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpu/drm/nouveau/dispnv50/base507c.c:176:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpu/drm/nouveau/dispnv50/base507c.c:176:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpu/drm/nouveau/dispnv50/base507c.c:176:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpu/drm/nouveau/dispnv50/base507c.c:176:9: sparse: sparse: cast removes address space '__iomem' of expression

vim +/__iomem +198 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c

   188	
   189	int
   190	wndwc37e_sema_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw)
   191	{
   192		struct nvif_push *push = wndw->wndw.push;
   193		int ret;
   194	
   195		if ((ret = PUSH_WAIT(push, 5)))
   196			return ret;
   197	
 > 198		PUSH_NVSQ(push, NVC37E, 0x020c, asyw->sema.offset,
   199					0x0210, asyw->sema.acquire,
   200					0x0214, asyw->sema.release,
   201					0x0218, asyw->sema.handle);
   202		return 0;
   203	}
   204	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 45691 bytes --]

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

only message in thread, other threads:[~2020-08-01 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-01 18:17 [linux-next:master 10010/13260] drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:198:9: 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.