RE: linux-next: build warning after merge of the net-next tree

From: Varghese, Martin (Nokia - IN/Bangalore)
Date: Mon Feb 24 2020 - 19:14:54 EST


HI David & Stephen,

In v8 version of patch while fixing reverse xmas tree I wrongly judged the variable usage and removed the initialization. But wondering why compiler didn't show me that. Apologies.
David, Thanks for fixing it.

Regards,
Martin

-----Original Message-----
From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Sent: Tuesday, February 25, 2020 4:17 AM
To: David Miller <davem@xxxxxxxxxxxxx>
Cc: netdev@xxxxxxxxxxxxxxx; linux-next@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Varghese, Martin (Nokia - IN/Bangalore) <martin.varghese@xxxxxxxxx>; willemb@xxxxxxxxxx
Subject: Re: linux-next: build warning after merge of the net-next tree

Hi Dave,

On Mon, 24 Feb 2020 14:42:43 -0800 (PST) David Miller <davem@xxxxxxxxxxxxx> wrote:
>
> Sorry, my compiler didn't show this.

Yeah, these ones especially change with compiler version. I am currently running gcc v9.2.1 if it matters.

> I've committed the following into net-next, hopefully it does the trick:

Thanks.

--
Cheers,
Stephen Rothwell