[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181004194033.GD8557@tuxdriver.com>
Date: Thu, 4 Oct 2018 15:40:34 -0400
From: "John W. Linville" <linville@...driver.com>
To: Eran Ben Elisha <eranbe@...lanox.com>
Cc: netdev@...r.kernel.org,
Chris Preimesberger <chrisp@...nsition.com>,
Andrew Lunn <andrew@...n.ch>,
Neil Horman <nhorman@...driver.com>,
Vidya Sagar Ravipati <vidya@...ulusnetworks.com>
Subject: Re: [PATCH ethtool v2] ethtool: Fix uninitialized variable use at
qsfp dump
On Tue, Oct 02, 2018 at 10:24:19AM +0300, Eran Ben Elisha wrote:
> Struct sff_diags can be used uninitialized at sff8636_show_dom, this
> caused the tool to show unreported fields (supports_alarms) by the lower
> level driver.
>
> In addition, make sure the same struct is being initialized at
> sff8472_parse_eeprom function, to avoid the same issue here.
>
> Fixes: a5e73bb05ee4 ("ethtool:QSFP Plus/QSFP28 Diagnostics Information Support")
> Signed-off-by: Eran Ben Elisha <eranbe@...lanox.com>
OK, queued for next release...
--
John W. Linville Someday the world will need a hero, and you
linville@...driver.com might be all we have. Be ready.
Powered by blists - more mailing lists