virtio gpu sparse warning

2016-11-23 Thread Michael S. Tsirkin
sparse produces these warnings: drivers/gpu/drm/virtio/virtgpu_fb.c:340:27: warning: incorrect type in assignment (different address spaces) drivers/gpu/drm/virtio/virtgpu_fb.c:340:27:expected char [noderef] *screen_base drivers/gpu/drm/virtio/virtgpu_fb.c:340:27:got void *vmap This is be

Re: virtio gpu sparse warning

2016-11-27 Thread Gerd Hoffmann
On Do, 2016-11-24 at 04:57 +0200, Michael S. Tsirkin wrote: > sparse produces these warnings: > > drivers/gpu/drm/virtio/virtgpu_fb.c:340:27: warning: incorrect type in > assignment (different address spaces) > drivers/gpu/drm/virtio/virtgpu_fb.c:340:27:expected char [noderef] > *screen_base >