]> Git Repo - J-u-boot.git/commit - lib/tpm.c
tpm: Fix comparison of unsigned expression warning
authorTom Rini <[email protected]>
Wed, 10 May 2017 19:20:18 +0000 (15:20 -0400)
committerTom Rini <[email protected]>
Fri, 12 May 2017 12:37:40 +0000 (08:37 -0400)
commit667d6856973c725331f70eb9f36fee8897123316
tree0281e35752490a7bd8340baf26f43daccd16790f
parent758979101d161704dc9c1e42db98a728724f59d0
tpm: Fix comparison of unsigned expression warning

The function tpm_xfer returns int so make 'err' be int rather than
uint32_t so that we can catch an error condition.  Reported by
clang-3.8.

Signed-off-by: Tom Rini <[email protected]>
lib/tpm.c
This page took 0.033811 seconds and 4 git commands to generate.