diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-08-31 08:31:09 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-01 12:12:24 -0400 |
commit | f5895f44eaaa095018736ecf607cb3fcbce66476 (patch) | |
tree | 5a4e15cf9ce2b27b5dcbaf366b4fdf71f80bb593 /drivers/gpu/nvgpu/vgpu/vgpu.h | |
parent | f43231f7a5b60cd7ebd3068dde04eaac43361d02 (diff) |
gpu: nvgpu: fix compilation errors for 32 bit arch
Converting return value of sg_dma_address() (which is u64)
into a pointer results in compilation failure on 32 bit
machines
Hence convert address first into uintptr_t and then into
pointer
Change-Id: I8e036af8f4c936b88883cf8af1491f03025ed356
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1211243
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h')
0 files changed, 0 insertions, 0 deletions