Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp2000950imc; Fri, 22 Feb 2019 15:38:55 -0800 (PST) X-Google-Smtp-Source: AHgI3IbJV9N2vnkEftrLStVll0+7Np73Uqr76MmpJZBOh8jSM5B+l1ZhwXqtbKKoewgWhfSO2p3H X-Received: by 2002:a17:902:e309:: with SMTP id cg9mr1218220plb.66.1550878735305; Fri, 22 Feb 2019 15:38:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550878735; cv=none; d=google.com; s=arc-20160816; b=0Vqkv3FTO8HYIktYUOnW/i3x76NMGf9iy17G/eHSKUY/WvU84HhyNGcErmmmdFMnLM IyUgqdLFtubLTklDjMoGMnYY54N28IRXWBa0vfGSPxV4fZDxxRpbMfv2Jwn5Ve6b3va1 e6SyVCjOMFft/zaZITsuyPO7KxSdSU1EDFeEMhmdQ+v5R69zD5NBljNPKKsuXdnzh62S kO8GXnw7K7kOh7/ayKF3Yy3l2Dt9MRYwLcS6fHCTKK52KJZLVzRoi5dbEYuKKzehmXMO jMGBqZvZEaz/Yvv6EOr+9CYYKQeEVbY0MWO79c1FkAAvLRoKDt9hhy9IhRFN8/ZUVuhR PGqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=hE1E7l2o2ssgMRztpfLqWgT/LSUrnH/aoneZJR51IgQ=; b=OVH8Xp5MR1NhYMhdYMxKlcl/KT+6EXSLaBc7MRXqcxDDStL/ZWmYI6pCuw3377nqtK +OjBDH3JJWztY2ishKGfHMqUFHTglcP3SkSQGeKgt1hyPhRZwg6s7kzLzG+Q5yz1sbXK HubfyDgmx/pG79qDj0JNvv3Az7OcqNARKQoKmVdCE0UxNW4zcrqFfxlNZJUpNF7RJgAy VHyLj9UBdtGlr87cXpJ94MDm5tSvusS/rSoWuFkpsbx6CmM/xw1YDmVaePMJnQjCqfFG 31SNT/2lacksUItxhZg5qPWBXMJ8p6fO8b9urWqVA6uFqIiViz6jKliTkgF2nN/AMV+a jn8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si2614795pfd.183.2019.02.22.15.38.40; Fri, 22 Feb 2019 15:38:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727605AbfBVXiF (ORCPT + 99 others); Fri, 22 Feb 2019 18:38:05 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:49513 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbfBVXiE (ORCPT ); Fri, 22 Feb 2019 18:38:04 -0500 X-Originating-IP: 86.201.231.99 Received: from mc-bl-xps13.lan (lfbn-tou-1-149-99.w86-201.abo.wanadoo.fr [86.201.231.99]) (Authenticated sender: maxime.chevallier@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id BC19060008; Fri, 22 Feb 2019 23:37:57 +0000 (UTC) From: Maxime Chevallier To: davem@davemloft.net Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Antoine Tenart , thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, mw@semihalf.com Subject: [PATCH net-next v2 2/7] net: phy: marvell10g: Use linkmode_set_bit helper instead of __set_bit Date: Sat, 23 Feb 2019 00:37:39 +0100 Message-Id: <20190222233744.25735-3-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190222233744.25735-1-maxime.chevallier@bootlin.com> References: <20190222233744.25735-1-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cosmetic patch making use of helpers dedicated to linkmodes handling. Signed-off-by: Maxime Chevallier --- drivers/net/phy/marvell10g.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/marvell10g.c b/drivers/net/phy/marvell10g.c index 89920b10d75b..821ef1b2f8cc 100644 --- a/drivers/net/phy/marvell10g.c +++ b/drivers/net/phy/marvell10g.c @@ -253,8 +253,8 @@ static int mv3310_get_features(struct phy_device *phydev) return val; if (val & MDIO_AN_STAT1_ABLE) - __set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, - phydev->supported); + linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, + phydev->supported); } ret = genphy_c45_pma_read_abilities(phydev); -- 2.19.2