diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-12-06 07:57:00 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-12-08 14:58:15 -0500 |
commit | 9f404b811c8b1e8a5b7bf0eb6346d424bae31576 (patch) | |
tree | 90258421cc35bd6f75dd492d6bbe43174de27d35 /NVIDIA-REVIEWERS | |
parent | 8b5339319282fc1e6c23ea106a48a2ca3b14d3e0 (diff) |
gpu: nvgpu: fix unsigned int declaration
In gr_gk20a_init_access_map(), we declare num_entries as "unsigned int"
But this variable is implicitly type casted into "int" while calling subsequent
functions
Hence explicitly declare it as type "int"
Also declare variable "w" as "int" too since we use it to compare against
num_entries
Jira NVGPU-446
Change-Id: I289da6951db0a9ed6b8d6bcb3ee4f6071a4ddaf0
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1612444
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'NVIDIA-REVIEWERS')
0 files changed, 0 insertions, 0 deletions