From: David Miller Subject: Re: [PATCH net-next] net: phy: don't allow __set_phy_supported to add unsupported modes Date: Mon, 03 Dec 2018 13:51:38 -0800 (PST) Message-ID: <20181203.135138.170117435347829014.davem@davemloft.net> References: <28a0d107-120c-83f4-9ce8-42b0cf45f415@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: andrew@lunn.ch, f.fainelli@gmail.com, netdev@vger.kernel.org To: hkallweit1@gmail.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:47486 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725800AbeLCVvm (ORCPT ); Mon, 3 Dec 2018 16:51:42 -0500 In-Reply-To: <28a0d107-120c-83f4-9ce8-42b0cf45f415@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Heiner Kallweit Date: Mon, 3 Dec 2018 08:04:57 +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. > > Signed-off-by: Heiner Kallweit Applied.