| 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, received: %ld, expected: %d\n",
                                              ~~^
                                              %d
          send_size, length);
          ~~~~~~~~~
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> | ||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| cr50_i2c.c | ||
| tpm-uclass.c | ||
| tpm2_ftpm_tee.c | ||
| tpm2_ftpm_tee.h | ||
| 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 | ||