diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-11-08 15:53:58 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-11-11 11:20:15 -0500 |
commit | 24f001875587b8e02f67b07663a2fcfcc7737557 (patch) | |
tree | 74c3adef360622d582589ca48b3ead7c1298f13c /drivers/gpu/nvgpu/Makefile.nvgpu | |
parent | f329e674f477f0120f9a92a9e7b4945a1ddaefbb (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/Makefile.nvgpu')
0 files changed, 0 insertions, 0 deletions