android_kernel_oneplus_msm8998/drivers/gpu/drm/vmwgfx
Paul Bolle 5820027ee2 drm/vmwgfx: use *_32_bits() macros
commit 0e7c875d1ae9dcf4d8c6018a45e5529feaef8956 upstream.

Use the upper_32_bits() macro instead of the four line equivalent that
triggers a GCC warning on 32 bits x86:
    drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c: In function 'vmw_cmdbuf_header_submit':
    drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:297:25: warning: right shift count >= width of type [-Wshift-count-overflow]
       val = (header->handle >> 32);
                             ^

And use the lower_32_bits() macro instead of and-ing with a 32 bits
mask.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1457000770-2317-1-git-send-email-pebolle@tiscali.nl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:03:48 +01:00
..
device_include
Kconfig
Makefile
vmwgfx_binding.c
vmwgfx_binding.h
vmwgfx_buffer.c
vmwgfx_cmdbuf.c drm/vmwgfx: use *_32_bits() macros 2018-02-25 11:03:48 +01:00
vmwgfx_cmdbuf_res.c drm/vmwgfx: Free hash table allocated by cmdbuf managed res mgr 2017-07-05 14:37:16 +02:00
vmwgfx_context.c
vmwgfx_cotable.c
vmwgfx_dmabuf.c
vmwgfx_drv.c drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue 2017-11-15 17:13:13 +01:00
vmwgfx_drv.h
vmwgfx_execbuf.c drm/vmwgfx: Potential off by one in vmw_view_add() 2018-01-17 09:35:30 +01:00
vmwgfx_fb.c
vmwgfx_fence.c
vmwgfx_fence.h
vmwgfx_fifo.c
vmwgfx_gmr.c
vmwgfx_gmrid_manager.c
vmwgfx_ioctl.c
vmwgfx_irq.c
vmwgfx_kms.c
vmwgfx_kms.h
vmwgfx_ldu.c
vmwgfx_marker.c
vmwgfx_mob.c
vmwgfx_overlay.c
vmwgfx_prime.c
vmwgfx_reg.h
vmwgfx_resource.c
vmwgfx_resource_priv.h
vmwgfx_scrn.c
vmwgfx_shader.c
vmwgfx_so.c
vmwgfx_so.h
vmwgfx_stdu.c
vmwgfx_surface.c
vmwgfx_ttm_glue.c