diff options
author | 2018-11-04 12:39:02 +0200 | |
---|---|---|
committer | 2019-02-13 09:47:10 +0200 | |
commit | c628610087d4dd45015dde53e13397fcad4ad95a (patch) | |
tree | 869f9b00c804df1b8c5c11b9af7930e3c7a55b90 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameter (diff) | |
download | linux-dev-c628610087d4dd45015dde53e13397fcad4ad95a.tar.xz linux-dev-c628610087d4dd45015dde53e13397fcad4ad95a.zip |
tpm: fix invalid return value in pubek_show()
Return zero when tpm_buf_init() fails as we do for other functions in
tpm-sysfs.c.
Fixes: da379f3c1db0c ("tpm: migrate pubek_show to struct tpm_buf")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Reviewed-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Tested-by: Alexander Steffen <Alexander.Steffen@infineon.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions