Re: [PATCH 1/1] tpm: remove superfluous check in tpm_tis_send()

2023-11-11 Thread Ilias Apalodimas
On Sun, 12 Nov 2023 at 05:08, Simon Glass wrote: > > On Fri, 10 Nov 2023 at 17:35, Heinrich Schuchardt > wrote: > > > > 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] t

Re: [PATCH 1/1] tpm: remove superfluous check in tpm_tis_send()

2023-11-11 Thread Simon Glass
On Fri, 10 Nov 2023 at 17:35, Heinrich Schuchardt wrote: > > 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:/

[PATCH 1/1] tpm: remove superfluous check in tpm_tis_send()

2023-11-10 Thread Heinrich Schuchardt
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/yafwdtkkyrr7q...@apalos.home/ Signed-off-by: