diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-02-06 18:04:18 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-07 01:13:01 -0500 |
commit | 07f07981733135f648c53acfedf03b43045fed08 (patch) | |
tree | 7e6ea27daf0d6888c9be857be59d40085605110c /drivers/gpu/nvgpu/therm/thrm.c | |
parent | 91406a18f07e410885646fbc96cdcf2431ee6fe3 (diff) |
gpu: nvgpu: Do not skip errors in gk20a_init_sw_bundle
gk20a_init_sw_bundle() has a couple of places where it continues
even despite an error is returned. Also it does not check the
return value from gops->gr.init_sw_veid_bundle().
Add an error goto label which restores pipeline state. Add gotos
to that label for all error cases.
Coverity ID 490376
Change-Id: I65338272d2817fa831370c8f070019debbfcd673
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1300098
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrm.c')
0 files changed, 0 insertions, 0 deletions