diff options
author | Rijo Thomas <Rijo-john.Thomas@amd.com> | 2020-01-09 15:53:20 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-01-16 10:18:13 +0300 |
commit | 2929015535fa355f604564ae5e542fd3c9179410 (patch) | |
tree | 5db3f8efd6051b57b7cd534d3dc6b241c0e8b131 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f4c58c3758f95eec5ea9cf1424d68350f00f9eb9 (diff) | |
download | linux-2929015535fa355f604564ae5e542fd3c9179410.tar.xz |
tee: amdtee: skip tee_device_unregister if tee_device_alloc fails
Currently, if tee_device_alloc() fails, then tee_device_unregister()
is a no-op. Therefore, skip the function call to tee_device_unregister() by
introducing a new goto label 'err_free_pool'.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rijo Thomas <Rijo-john.Thomas@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions