drm/xen-front: fix pointer casts
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Wed, 23 May 2018 11:36:30 +0000 (14:36 +0300)
committerOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Fri, 25 May 2018 05:28:41 +0000 (08:28 +0300)
commit9eece5d9c6e0316f17091e37ff3ec87331bdedf3
treead537b572d4a34fa65e30b0c765f0704e29f2cd6
parent2edd4e698dc8a0c497a502c75561c87be0e8a9a6
drm/xen-front: fix pointer casts

Building for a 32-bit target results in warnings from casting
between a 32-bit pointer and a 64-bit integer. Fix the warnings
by casting those pointers to uintptr_t first.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180523113630.29811-1-andr2000@gmail.com
drivers/gpu/drm/xen/xen_drm_front.h
drivers/gpu/drm/xen/xen_drm_front_shbuf.c