diff options
author | Nicolas Benech <nbenech@nvidia.com> | 2018-09-04 21:38:13 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-06 19:15:23 -0400 |
commit | 4451cf29d46cee3415e4dce42a8f67f3cc49070c (patch) | |
tree | 70107d4b7de329b0feaf855071aee7359dd78fbf /drivers/gpu/nvgpu/lpwr/lpwr.h | |
parent | ba1245d8f74816189af0fc3e0d0d1c642f87cdf2 (diff) |
gpu: nvgpu: Fix nvgpu_sim_esc_readl MISRA 17.7 violations
MISRA Rule-17.7 requires the return value of all functions to be used.
Fix is either to use the return value or change the function to return
void. This patch contains fix for calls to nvgpu_sim_esc_readl by
changing its return to void and printing an error message instead.
JIRA NVGPU-677
Change-Id: I949bea253dafc316c7dfbf870eb1225b6fc5b9c3
Signed-off-by: Nicolas Benech <nbenech@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1812887
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 'drivers/gpu/nvgpu/lpwr/lpwr.h')
0 files changed, 0 insertions, 0 deletions