diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-09-26 08:34:42 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-29 01:40:12 -0400 |
commit | 82baff9f6f3c7bb242d5378e3118763069460033 (patch) | |
tree | b83cf8267546e8b4f076006f01b5315f4c1b4efa /drivers/gpu/nvgpu/os/linux/debug_therm_gp106.h | |
parent | 857222d013eb650409669791095cdebee4e97e86 (diff) |
gpu: nvgpu: do nothing on invalid tsg release
If nvgpu_ioctl_tsg_open() fails, this file has no priv data yet on
release(). In that case there is nothing to free so just return.
Jira NVGPU-967
Change-Id: I02dd1bb12a27745a3b28aaa4a943d79d82b14d2c
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1847592
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/debug_therm_gp106.h')
0 files changed, 0 insertions, 0 deletions