diff options
author | 2018-04-07 19:12:36 +0300 | |
---|---|---|
committer | 2018-05-10 01:33:00 +0300 | |
commit | 1fbad3028664e114d210dc65d768947a3a553eaa (patch) | |
tree | 3e93c7c37fd7439b0cadac43e42ec55e9926f49b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tpm/st33zp24: Fix spelling mistake in macro ST33ZP24_TISREGISTER_UKNOWN (diff) | |
download | wireguard-linux-1fbad3028664e114d210dc65d768947a3a553eaa.tar.xz wireguard-linux-1fbad3028664e114d210dc65d768947a3a553eaa.zip |
tpm: tpm_crb: relinquish locality on error path.
In crb_map_io() function, __crb_request_locality() is called prior
to crb_cmd_ready(), but if one of the consecutive function fails
the flow bails out instead of trying to relinquish locality.
This patch adds goto jump to __crb_relinquish_locality() on the error path.
Fixes: 888d867df441 (tpm: cmd_ready command can be issued only after granting locality)
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions