From: Tom Rini Date: Mon, 15 Mar 2021 11:52:38 -0400 Subject: [PATCH 4/7] tpm: Correct warning on 32-bit build In-Reply-To: <20210207212707.3958570-5-sjg@chromium.org> References: <20210207212707.3958570-1-sjg@chromium.org> <20210207212707.3958570-5-sjg@chromium.org> Message-ID: <20210315155238.GJ1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? > {aka ?unsigned int?} [-Wformat=] > printf("TPM2: Unmatching length, received: %ld, expected: %d\n", > ~~^ > %d > send_size, length); > ~~~~~~~~~ > > Signed-off-by: Simon Glass > Reviewed-by: Heinrich Schuchardt Applied to u-boot/next, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: