summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-11-08 15:53:58 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-11 11:20:15 -0500
commit24f001875587b8e02f67b07663a2fcfcc7737557 (patch)
tree74c3adef360622d582589ca48b3ead7c1298f13c /drivers/gpu/nvgpu/gk20a/fence_gk20a.c
parentf329e674f477f0120f9a92a9e7b4945a1ddaefbb (diff)
gpu: nvgpu: Don't cast runlist size to u64
We multiply integer entry size and number of runlist entries and store the result in u64. The result is used as size of memory, so it should be size_t instead. Change-Id: I0f5baa66ede259c9b42ede64c08f821c3e74a20b Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1249957 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fence_gk20a.c')
0 files changed, 0 insertions, 0 deletions