[PATCH] net: correct wget_connected debug messages

Ilias Apalodimas ilias.apalodimas at linaro.org
Wed Oct 9 12:38:35 CEST 2024


On Wed, 9 Oct 2024 at 02:02, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> * Remove duplicate debug message in wget_connected()
> * Correct typo 'Connctd'
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  net/wget.c | 8 ++------
>  1 file changed, 2 insertions(+), 6 deletions(-)
>
> diff --git a/net/wget.c b/net/wget.c
> index b4251e0f293..f978adc9f0a 100644
> --- a/net/wget.c
> +++ b/net/wget.c
> @@ -248,7 +248,7 @@ static void wget_connected(uchar *pkt, unsigned int tcp_seq_num,
>                         wget_send(action, tcp_seq_num, tcp_ack_num, len);
>                 } else {
>                         debug_cond(DEBUG_WGET,
> -                                  "wget: Connctd pkt %p  hlen %x\n",
> +                                  "wget: Connected Pkt %p hlen %x\n",
>                                    pkt, hlen);
>
>                         pos = strstr((char *)pkt, content_len);
> @@ -273,10 +273,6 @@ static void wget_connected(uchar *pkt, unsigned int tcp_seq_num,
>                                 }
>                         }
>
> -                       debug_cond(DEBUG_WGET,
> -                                  "wget: Connected Pkt %p hlen %x\n",
> -                                  pkt, hlen);
> -
>                         for (i = 0; i < pkt_q_idx; i++) {
>                                 int err;
>
> @@ -288,7 +284,7 @@ static void wget_connected(uchar *pkt, unsigned int tcp_seq_num,
>                                           pkt_q[i].len);
>                                 unmap_sysmem(ptr1);
>                                 debug_cond(DEBUG_WGET,
> -                                          "wget: Connctd pkt Q %p len %x\n",
> +                                          "wget: Conncted pkt Q %p len %x\n",
>                                            pkt_q[i].pkt, pkt_q[i].len);
>                                 if (err) {
>                                         wget_loop_state = NETLOOP_FAIL;
> --
> 2.45.2
>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>


More information about the U-Boot mailing list