mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
9086e8f04d
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> |
||
---|---|---|
.. | ||
cr50_i2c.c | ||
Kconfig | ||
Makefile | ||
sandbox_common.c | ||
sandbox_common.h | ||
tpm-uclass.c | ||
tpm2_ftpm_tee.c | ||
tpm2_ftpm_tee.h | ||
tpm2_tis_core.c | ||
tpm2_tis_i2c.c | ||
tpm2_tis_mmio.c | ||
tpm2_tis_sandbox.c | ||
tpm2_tis_spi.c | ||
tpm_atmel_twi.c | ||
tpm_internal.h | ||
tpm_tis.h | ||
tpm_tis_infineon.c | ||
tpm_tis_lpc.c | ||
tpm_tis_sandbox.c | ||
tpm_tis_st33zp24_i2c.c | ||
tpm_tis_st33zp24_spi.c |