Loading
tpm: fix unsigned/signed mismatch errors related to __calc_tpm2_event_size
__calc_tpm2_event_size returns 0 or a positive length, but return values are often interpreted as ints. Convert everything over to u32 to avoid signed/unsigned logic errors. Signed-off-by:Gregory Price <gourry@gourry.net> Signed-off-by:
Ard Biesheuvel <ardb@kernel.org>