[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181203.135203.998302464804433946.davem@davemloft.net>
Date: Mon, 03 Dec 2018 13:52:03 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: hkallweit1@...il.com
Cc: andrew@...n.ch, f.fainelli@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] net: phy: don't allow __set_phy_supported to add
unsupported modes
From: Heiner Kallweit <hkallweit1@...il.com>
Date: Mon, 3 Dec 2018 08:19:33 +0100
> Currently __set_phy_supported allows to add modes w/o checking whether
> the PHY supports them. This is wrong, it should never add modes but
> only remove modes we don't want to support.
>
> The commit marked as fixed didn't do anything wrong, it just copied
> existing functionality to the helper which is being fixed now.
>
> Fixes: f3a6bd393c2c ("phylib: Add phy_set_max_speed helper")
> Signed-off-by: Heiner Kallweit <hkallweit1@...il.com>
> ---
> This will cause a merge conflict once net is merged into net-next.
> And the fix will need minor tweaking when being backported to
> older kernel versions.
Applied and queued up for -stable.
I'll let you know if I need help with those backports.
Powered by blists - more mailing lists