[PATCH] test: fix comment indentation on tpm tests

Simon Glass sjg at chromium.org
Thu Jun 1 23:51:03 CEST 2023


On Thu, 1 Jun 2023 at 00:18, Ilias Apalodimas
<ilias.apalodimas at linaro.org> wrote:
>
> One out comments is off by one, adjust it
>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> ---
>  test/dm/tpm.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
>

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

(I'm not sure I understand the commit message though)


> diff --git a/test/dm/tpm.c b/test/dm/tpm.c
> index 3defb3c3da1f..cde933ab2848 100644
> --- a/test/dm/tpm.c
> +++ b/test/dm/tpm.c
> @@ -98,10 +98,11 @@ static int test_tpm_autostart(struct unit_test_state *uts,
>
>         if (reinit)
>                 ut_assertok(tpm_init(dev));
> -        /*
> -         * tpm_auto_start will rerun tpm_init() if reinit, but handles the
> -         * -EBUSY return code internally.
> -         */
> +
> +       /*
> +        * tpm_auto_start will rerun tpm_init() if reinit, but handles the
> +        * -EBUSY return code internally.
> +        */
>         ut_assertok(tpm_auto_start(dev));
>
>         return 0;
> --
> 2.39.2
>


More information about the U-Boot mailing list