diff options
author | Jarkko Sakkinen <[email protected]> | 2018-11-04 12:39:02 +0200 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2019-02-13 09:47:10 +0200 |
commit | c628610087d4dd45015dde53e13397fcad4ad95a (patch) | |
tree | 869f9b00c804df1b8c5c11b9af7930e3c7a55b90 /scripts/gdb/linux/lists.py | |
parent | 412eb585587a1dc43c9622db79de9663b6c4c238 (diff) |
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 <[email protected]>
Reviewed-by: Stefan Berger <[email protected]>
Tested-by: Stefan Berger <[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Reviewed-by: James Bottomley <[email protected]>
Tested-by: Alexander Steffen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions