diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-10-18 13:46:09 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-20 13:44:39 -0400 |
commit | 1cb6d159e271cd10c7815dd5c08fbd520f83223f (patch) | |
tree | 7455d3664e64304c206941b9cae355bf87c8bb7c /NVIDIA-REVIEWERS | |
parent | 15e5a85ae2ae9dc5278df59c8dd298236359cab3 (diff) |
gpu: nvgpu: Fix coverity problem
Coverity detected a possible overflow during the left shift.
This is likely not a big problem, though, since the number
of pages to allocate would have to be greater than 2^32
(that would be 4 TB of memory assuming 4k page size and the
literal 1 being a signed int by default).
Bug 1799159
Change-Id: Ie1d6522defd13c794eb95aeee8c5c4203db00ebf
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1238632
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'NVIDIA-REVIEWERS')
0 files changed, 0 insertions, 0 deletions