OSDN Git Service

staging: ccree: dma mask is type u64
authorGilad Ben-Yossef <gilad@benyossef.com>
Tue, 9 Jan 2018 10:24:33 +0000 (10:24 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jan 2018 15:02:18 +0000 (16:02 +0100)
commitf24d41169af2c71e461bda74af8fb36349621b59
tree1ca619126ad4de4391b8d62fc689e37c8837ed84
parent5d5583d0e22279d1a8fe1372ec0d02da5f289116
staging: ccree: dma mask is type u64

The dma mask var was defined as dma_addr_t but should be
u64. This showed as a sparse warning when building for 32 bit.
Fix it by changing type to u64 and drop the cast.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/cc_driver.c