summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gp10b
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-12-20 17:37:49 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-04 04:44:23 -0500
commit2958db6f5625a9f566644a6830dc96e1b6879327 (patch)
treeee7dd9ef6b462da0a06c16051e62218f99163544 /drivers/gpu/nvgpu/vgpu/gp10b
parentb786e1798958a41694b8bdb202ca864306bef5e8 (diff)
gpu: nvgpu: Release VBIOS firmware if alloc fails
We first load VBIOS firmware from file, and then attempt to allocate space into which we copy the data. If allocation fails, we do not release the firmware. Add a release_firmware() in the error path. Change-Id: Iaa995e93bf8d5a23e08c5e332f70b203ac2e09db Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1275740 GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gp10b')
0 files changed, 0 insertions, 0 deletions