diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-08-17 13:54:19 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-17 18:49:41 -0400 |
commit | 7a4b9487b663a5dbc69ada49d8382c899682129d (patch) | |
tree | 7b1e229afa4ba2b0225f9b23a7f0daa03ad9d612 /drivers/gpu/nvgpu/therm/thrmpmu.h | |
parent | 98186ec2c2127c2af65a34f9e697e04f518a79ab (diff) |
gpu: nvgpu: Fix potential map failing for vGPU
Ensure that the mapping size passed to the vGPU mapping code
is page aligned. The vGPU mapping code returns -EINVAL otherwise.
Change-Id: I87a90085882fa0ff538b181a55240468392c4135
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1540423
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmpmu.h')
0 files changed, 0 insertions, 0 deletions