Files
linux-nvgpu/drivers/gpu/nvgpu/common
Jinesh Parakh 167e7b0256 gpu: nvgpu: Fix Unused value Defect
Fix following Coverity Defect:
nvgpu_init.c : Unused value

The ret variable was being reassigned the error code from
nvgpu_cic_mon_deinit(g) without taking into account the previous ret value.
We need to propagate whether there is an error
(the last known error is returned) or not using ret, the temp_ret
variable helps in verifying this.
Similar coding style followed in the entire function.

CID 10127863

Bug 3460991

Signed-off-by: Jinesh Parakh <jparakh@nvidia.com>
Change-Id: I732ba5269ebbbe68f113e53229df40ae49ccc13c
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2697104
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-04-27 20:19:29 -07:00
..
2022-03-14 17:12:14 -07:00
2022-04-14 17:02:34 -07:00
2022-02-09 00:38:21 -08:00
2022-04-27 20:19:29 -07:00
2022-01-28 04:50:12 -08:00
2022-03-01 00:09:01 -08:00
2022-03-14 17:12:14 -07:00
2020-12-15 14:13:28 -06:00