[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <37849ac5-8781-00c0-de4c-476ca69ab1bf@cogentembedded.com>
Date: Sun, 6 Nov 2016 12:53:57 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Philippe Reynes <tremyfr@...il.com>, dave@...dillows.org,
davem@...emloft.net
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: 3com: typhoon: fix typhoon_get_link_ksettings
Hello.
On 11/5/2016 6:11 PM, Philippe Reynes wrote:
> When moving from typhoon_get_settings to typhoon_getlink_ksettings
> in the commit commit f7a5537cd2a5 ("net: 3com: typhoon: use new api
One "commit" is enough. :-)
> ethtool_{get|set}_link_ksettings"), we use a local variable supported
> but we forgot to update the struct ethtool_link_ksettings with
> this value.
>
> We also initialize advertising to zero, because otherwise it may
> be uninitialized if no case of the switch (tp->xcvr_select) is used.
>
> Signed-off-by: Philippe Reynes <tremyfr@...il.com>
[...]
MBR, Sergei
Powered by blists - more mailing lists