Re: [PATCH 4/7] tpm: Correct warning on 32-bit build

2021-03-15 Thread Tom Rini
On Sun, Feb 07, 2021 at 02:27:04PM -0700, Simon Glass wrote: > Fix the warning: > > drivers/tpm/tpm2_tis_sandbox.c: In function ‘sandbox_tpm2_xfer’: > drivers/tpm/tpm2_tis_sandbox.c:288:48: warning: format ‘%ld’ expects > argument of type ‘long int’, but argument 2 has type ‘size_t’ >

Re: [PATCH 4/7] tpm: Correct warning on 32-bit build

2021-02-07 Thread Heinrich Schuchardt
On 2/7/21 10:27 PM, Simon Glass wrote: Fix the warning: drivers/tpm/tpm2_tis_sandbox.c: In function ‘sandbox_tpm2_xfer’: drivers/tpm/tpm2_tis_sandbox.c:288:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t’ {aka ‘unsigned int’} [-Wform

[PATCH 4/7] tpm: Correct warning on 32-bit build

2021-02-07 Thread Simon Glass
Fix the warning: drivers/tpm/tpm2_tis_sandbox.c: In function ‘sandbox_tpm2_xfer’: drivers/tpm/tpm2_tis_sandbox.c:288:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] printf("TPM2: Unmatching length,