Re: [U-Boot] [PATCH 17/82] tpm: Tidy up use of size_t

2016-10-10 Thread Bin Meng
On Tue, Oct 11, 2016 at 11:16 AM, Bin Meng wrote: > On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote: >> We should consistently use %z with size_t, and avoid passing a uint32_t as >> a size_t value. Fix these issues to avoid warnings on 64-bit machines. >> >> Signed-off-by: Simon Glass >> ---

Re: [U-Boot] [PATCH 17/82] tpm: Tidy up use of size_t

2016-10-10 Thread Bin Meng
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote: > We should consistently use %z with size_t, and avoid passing a uint32_t as > a size_t value. Fix these issues to avoid warnings on 64-bit machines. > > Signed-off-by: Simon Glass > --- > > drivers/tpm/tpm_tis_lpc.c | 4 ++-- > 1 file changed

[U-Boot] [PATCH 17/82] tpm: Tidy up use of size_t

2016-09-25 Thread Simon Glass
We should consistently use %z with size_t, and avoid passing a uint32_t as a size_t value. Fix these issues to avoid warnings on 64-bit machines. Signed-off-by: Simon Glass --- drivers/tpm/tpm_tis_lpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tpm/tpm_tis_