[PATCH v2 03/10] tpm: Fix the return type of tpm_startup

Simon Glass sjg at chromium.org
Tue Mar 1 15:58:45 CET 2022


On Mon, 28 Feb 2022 at 05:07, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> The tpm_startup function returns negative values for error
> conditions. Fix the return type of the function to a signed int
> instead of a u32.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
>
> Changes since V1: None
>
>  include/tpm_api.h | 2 +-
>  lib/tpm_api.c     | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list