[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190206124826.GB9278@t480s.localdomain>
Date: Wed, 6 Feb 2019 12:48:26 -0500
From: Vivien Didelot <vivien.didelot@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] net: dsa: Fix NULL checking in dsa_slave_set_eee()
On Wed, 6 Feb 2019 18:35:15 +0300, Dan Carpenter <dan.carpenter@...cle.com> wrote:
> This function can't succeed if dp->pl is NULL. It will Oops inside the
> call to return phylink_ethtool_get_eee(dp->pl, e);
>
> Fixes: 1be52e97ed3e ("dsa: slave: eee: Allow ports to use phylink")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Reviewed-by: Vivien Didelot <vivien.didelot@...il.com>
Powered by blists - more mailing lists