aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_auth.c
diff options
context:
space:
mode:
authorPaul Bolle <[email protected]>2016-03-03 10:26:10 +0000
committerDaniel Vetter <[email protected]>2016-06-15 11:10:38 +0000
commit0e7c875d1ae9dcf4d8c6018a45e5529feaef8956 (patch)
tree32cba26397007f319e175d443362a2eeba01a979 /drivers/gpu/drm/drm_auth.c
parentMerge tag 'sphinx-4.8' of git://git.lwn.net/linux into topic/drm-misc (diff)
downloadkernel-0e7c875d1ae9dcf4d8c6018a45e5529feaef8956.tar.gz
kernel-0e7c875d1ae9dcf4d8c6018a45e5529feaef8956.zip
drm/vmwgfx: use *_32_bits() macros
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 <[email protected]> Acked-by: Joe Perches <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_auth.c')
0 files changed, 0 insertions, 0 deletions