summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/perf/perf.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-12-20 18:53:26 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-04 04:44:25 -0500
commit7feff293e4f88ddae92ccf05ff86386c8d1f5c0e (patch)
tree4a3c0d1528faca9df15964db0685ba500c9739f7 /drivers/gpu/nvgpu/perf/perf.h
parent685b4d351ed413b19261be3e884bf182bf1a0e7f (diff)
gpu: nvgpu: Free arb substructures only if arb allocated
nvgpu_clk_arb_init_arbiter() allocates master structure arb, and sub-structures which is assigns as members of arb. At failure, there's a single error label, and it tries to free the members of arb without checking that arb was allocated. Change-Id: Ifac7552b05dad17036835eb3ee624eae351ccb7d Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1279226 GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/perf/perf.h')
0 files changed, 0 insertions, 0 deletions