diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2016-04-07 14:53:12 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-08 11:24:23 -0400 |
commit | 2382a8433fddaee3baecff6ae941944850787ab7 (patch) | |
tree | c7117ddffec4011b4777609e321e1eb534b3d9f6 /drivers/gpu/nvgpu/gk20a/debug_gk20a.h | |
parent | b2dd107455267b7f5ed3c6687c2bba48f3bdb941 (diff) |
gpu: nvgpu: fix validate_reg_op_offset error check
In validate_reg_op_offset, check for num_offsets == 0,
not for buf_offset_lo == 0, since an offset of 0 is in fact
quite possible.
Bug 1648200
Change-Id: Iea859ce0d0fabe1cc4c67610e8f3033d75e4094a
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: http://git-master/r/1122017
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aingara Paramakuru <aparamakuru@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/debug_gk20a.h')
0 files changed, 0 insertions, 0 deletions