diff options
author | Scott Long <scottl@nvidia.com> | 2018-08-06 13:04:21 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-08 03:55:58 -0400 |
commit | b86fcdee3115b5bded24e27cc31ee06f8a0a3938 (patch) | |
tree | b13e1542030251a0b2f8d885367f5b4abb2f5aa5 /drivers/gpu/nvgpu/common/nvlink.c | |
parent | fde90d0c8dc9182bfa730e889ffc26cefca18ccc (diff) |
gpu: nvgpu: fix MISRA Rule 10.1 issues in gr reset code
Fix MISRA rule 10.1 violations involving need_reset var
in gk20a_gr_isr().
Changed type to bool and set it to true any time one of
the pending condition checks returns non-zero.
JIRA NVGPU-650
Change-Id: I2f87b68d455345080f7b4c68cacf515e074c671a
Signed-off-by: Scott Long <scottl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1793633
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/nvlink.c')
0 files changed, 0 insertions, 0 deletions