[PATCH v2 02/21] sandbox: Fix a comment in os_find_u_boot()

Mattijs Korpershoek mkorpershoek at baylibre.com
Thu Jul 18 10:02:43 CEST 2024


Hi Simon,

Thank you for the patch.

On sam., juil. 13, 2024 at 08:00, Simon Glass <sjg at chromium.org> wrote:

> Fix a missing dot in a comment, since '..' is confusing.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>

Reviewed-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>

> ---
>
> (no changes since v1)
>
>  arch/sandbox/cpu/os.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c
> index 6a8a5e7b89b..1491d00504d 100644
> --- a/arch/sandbox/cpu/os.c
> +++ b/arch/sandbox/cpu/os.c
> @@ -964,7 +964,7 @@ int os_find_u_boot(char *fname, int maxlen, bool use_img,
>  	p = strstr(fname, subdir);
>  	if (p) {
>  		if (*next_prefix)
> -			/* e.g. ".../tpl/u-boot-spl"  to "../spl/u-boot-spl" */
> +			/* e.g. ".../tpl/u-boot-spl"  to ".../spl/u-boot-spl" */
>  			memcpy(p + 1, next_prefix, strlen(next_prefix));
>  		else
>  			/* e.g. ".../spl/u-boot" to ".../u-boot" */
> -- 
> 2.34.1


More information about the U-Boot mailing list