kernel_optimize_test/drivers/char/tpm
Jarkko Sakkinen c628610087 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: da379f3c1d ("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>
2019-02-13 09:47:10 +02:00
..
eventlog tpm: add _head suffix to tcg_efi_specid_event and tcg_pcr_event2 2019-02-13 09:47:01 +02:00
st33zp24 tpm: Unify the send callback behaviour 2019-02-13 09:46:26 +02:00
Kconfig tpm: Make SECURITYFS a weak dependency 2018-10-05 13:47:33 +03:00
Makefile tpm: factor out tpm 1.x duration calculation to tpm1-cmd.c 2018-11-13 13:46:29 +02:00
tpm_atmel.c tpm: Unify the send callback behaviour 2019-02-13 09:46:26 +02:00
tpm_atmel.h tpm: remove tpm_read_index and tpm_write_index from tpm.h 2017-02-03 22:03:14 +02:00
tpm_crb.c tpm/tpm_crb: Avoid unaligned reads in crb_recv() 2019-02-08 23:13:02 +02:00
tpm_i2c_atmel.c tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete 2019-02-13 09:47:00 +02:00
tpm_i2c_infineon.c tpm: Unify the send callback behaviour 2019-02-13 09:46:26 +02:00
tpm_i2c_nuvoton.c tpm: Unify the send callback behaviour 2019-02-13 09:46:26 +02:00
tpm_ibmvtpm.c tpm: Unify the send callback behaviour 2019-02-13 09:46:26 +02:00
tpm_ibmvtpm.h
tpm_infineon.c tpm: Unify the send callback behaviour 2019-02-13 09:46:26 +02:00
tpm_nsc.c tpm: Unify the send callback behaviour 2019-02-13 09:46:26 +02:00
tpm_ppi.c ACPI: Switch to use generic guid_t in acpi_evaluate_dsm() 2017-06-07 12:20:49 +02:00
tpm_tis_core.c tpm: don't return bool from update_timeouts 2019-02-13 09:47:01 +02:00
tpm_tis_core.h tpm: Allow tpm_tis drivers to set hwrng quality. 2018-07-28 17:03:11 +03:00
tpm_tis_spi.c tpm_tis_spi: Pass the SPI IRQ down to the driver 2018-07-28 17:03:11 +03:00
tpm_tis.c tpm: remove unused variables 2018-01-08 12:58:54 +02:00
tpm_vtpm_proxy.c tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameter 2019-02-13 09:47:01 +02:00
tpm-chip.c tpm: add tpm_auto_startup() into tpm-interface.c 2018-11-13 13:46:31 +02:00
tpm-dev-common.c tpm: add support for partial reads 2018-12-17 13:45:10 +02:00
tpm-dev.c tpm: add support for nonblocking operation 2018-10-05 13:47:33 +03:00
tpm-dev.h tpm: add support for partial reads 2018-12-17 13:45:10 +02:00
tpm-interface.c tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameter 2019-02-13 09:47:01 +02:00
tpm-sysfs.c tpm: fix invalid return value in pubek_show() 2019-02-13 09:47:10 +02:00
tpm.h tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameter 2019-02-13 09:47:01 +02:00
tpm1-cmd.c tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameter 2019-02-13 09:47:01 +02:00
tpm2-cmd.c tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameter 2019-02-13 09:47:01 +02:00
tpm2-space.c tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameter 2019-02-13 09:47:01 +02:00
tpmrm-dev.c tpm: add support for nonblocking operation 2018-10-05 13:47:33 +03:00
xen-tpmfront.c tpm: Unify the send callback behaviour 2019-02-13 09:46:26 +02:00