u-boot/drivers/tpm
Heinrich Schuchardt 9086e8f04d tpm: remove superfluous check in tpm_tis_send()
Checking if variable chip is NULL after dereferencing it makes no sense.
As discribed in [1] it is not expected that the variable can ever be NULL.

[1] Re: [PATCH] tpm: avoid NULL pointer dereference in tpm_tis_send()
    https://lore.kernel.org/u-boot/YaFwDtKKYRr7qzWc@apalos.home/

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2023-11-22 10:03:55 +02:00
..
cr50_i2c.c tpm: Implement state command for Cr50 2022-09-03 16:59:05 +03:00
Kconfig tpm: add support for TPMv2.x I2C chips 2022-05-23 16:33:58 +03:00
Makefile tpm: add support for TPMv2.x I2C chips 2022-05-23 16:33:58 +03:00
sandbox_common.c sandbox: tpm: Support the define-space command 2021-08-01 09:05:24 -06:00
sandbox_common.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tpm-uclass.c Correct SPL use of TPM_RNG 2023-02-10 07:41:40 -05:00
tpm2_ftpm_tee.c tpm2: ftpm: add the device in the OP-TEE services list 2023-01-20 10:04:56 +02:00
tpm2_ftpm_tee.h tpm2: ftpm: A driver for firmware TPM running inside TEE 2020-02-05 19:33:46 -07:00
tpm2_tis_core.c tpm: remove superfluous check in tpm_tis_send() 2023-11-22 10:03:55 +02:00
tpm2_tis_i2c.c tpm: add support for TPMv2.x I2C chips 2022-05-23 16:33:58 +03:00
tpm2_tis_mmio.c tis: fix tpm_tis_remove() 2021-11-30 14:11:05 +02:00
tpm2_tis_sandbox.c tpm: sandbox: Update for needed TPM2 capabilities 2023-10-27 13:08:25 +03:00
tpm2_tis_spi.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tpm_atmel_twi.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
tpm_internal.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tpm_tis.h tpm2: Introduce TIS tpm core 2021-11-10 20:57:54 +01:00
tpm_tis_infineon.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
tpm_tis_lpc.c tpm: refactor function names for LPC based TPMs 2021-11-10 20:57:54 +01:00
tpm_tis_sandbox.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
tpm_tis_st33zp24_i2c.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
tpm_tis_st33zp24_spi.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00