drm/vmwgfx: Fix compiler warning with 32-bit dma_addr_t
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 4 Aug 2015 13:34:14 +0000 (15:34 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Aug 2015 12:01:11 +0000 (14:01 +0200)
commit2e3cc8cff629c9697ac27c95a89dda7c7785b6b4
tree2ff99d3282e0e81f641ff334fc8d06a29f5544c3
parentb9eb1a6174e58eb8beea664ffc20d152230d8004
drm/vmwgfx: Fix compiler warning with 32-bit dma_addr_t

When the size of dma_addr_t was 32 bits, the compiler warned
about the size of the 32 bit shift being larger than the size
of the data type.

Reported by Intel's kbuild robot.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c