[PATCH 2/3] net: lwip: remove superfluous newline at tftp help text

Jerome Forissier jerome.forissier at linaro.org
Wed Mar 12 09:26:21 CET 2025


On 3/12/25 08:37, Michael Walle wrote:
> The help text has a newline at the end which will lead to an empty
> line after the tftpboot when printing the help overview. Remove it.
> 
> Fixes: 4d4d7838127e ("net: lwip: add TFTP support and tftpboot command")
> Signed-off-by: Michael Walle <mwalle at kernel.org>
> ---
>  cmd/net-lwip.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/cmd/net-lwip.c b/cmd/net-lwip.c
> index 0fd446ecb20..249556243d6 100644
> --- a/cmd/net-lwip.c
> +++ b/cmd/net-lwip.c
> @@ -17,7 +17,7 @@ U_BOOT_CMD(ping, 2, 1, do_ping, "send ICMP ECHO_REQUEST to network host",
>  
>  #if defined(CONFIG_CMD_TFTPBOOT)
>  U_BOOT_CMD(tftpboot, 3, 0, do_tftpb,
> -	   "boot image via network using TFTP protocol\n",
> +	   "boot image via network using TFTP protocol",
>  	   "[loadAddress] [[hostIPaddr:]bootfilename]");
>  #endif
>  

Reviewed-by: Jerome Forissier <jerome.forissier at linaro.org>

Thanks,
-- 
Jerome


More information about the U-Boot mailing list