aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/imx/parallel-display.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2015-01-13 15:23:52 +0100
committerDavid S. Miller <[email protected]>2015-01-13 16:56:40 -0500
commitadedf37b5908de05256913875f1041e838994b49 (patch)
tree3336e9465ffe92e56cf4e29d06a7992d85f91d55 /drivers/gpu/drm/imx/parallel-display.c
parent06640310b43c9b3185629e2b919c0800486b0d8e (diff)
rocker: fix harmless warning on 32-bit machines
The rocker driver tries to assign a pointer to a 64-bit integer and then back to a pointer. This is safe on all architectures, but causes a compiler warning when pointers are shorter than 64-bit: rocker/rocker.c: In function 'rocker_desc_cookie_ptr_get': rocker/rocker.c:809:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *) desc_info->desc->cookie; ^ This adds another cast to uintptr_t to tell the compiler that it's safe. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/imx/parallel-display.c')
0 files changed, 0 insertions, 0 deletions