From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="PgtXcimP" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4266DA4 for ; Fri, 17 Nov 2023 08:17:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wnDjgL4d+2o/v9Sbm9sHGem19FFKBP8oU9Mh6f3EWio=; b=PgtXcimPRtifUsiJaRYRHwVMJv FdP029rd809cmRqmzlEN0TSZUIWHoShTISl0tSQ4hqhqPiIWRcfeezMIFYzttPFNeCDC0UuUfcaSd wuQ+i038/TXaTyIhgnm0Kq2luSxpw0kD5+CsTA5H0pvWqSHN6Uk3jCh0/A5qY0JqK+9YK71DGz7OT G0XiFe0egPAupQXd1orXQNe9TQHIq25I1hiS3jTrIELAnvJa+k6Iw2sppUz6JcLydcmT9nRgDkodw +CDLaKU5zuYFFtA22IJ3lz4dT8DJ5A7gXZgxW9i6QlbLHJDsC+8KH37DNBkAsO1A9HbiXV14od2XV tkSsRM5w==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34070) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1r41Wz-00031T-2z; Fri, 17 Nov 2023 16:17:21 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1r41X0-0000Go-PD; Fri, 17 Nov 2023 16:17:22 +0000 Date: Fri, 17 Nov 2023 16:17:22 +0000 From: "Russell King (Oracle)" To: Andrew Lunn Cc: Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Subject: Re: [PATCH net-next] net: phylink: use for_each_set_bit() Message-ID: References: <84b4b1b4-83e7-477b-9316-21c7a76689aa@lunn.ch> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84b4b1b4-83e7-477b-9316-21c7a76689aa@lunn.ch> Sender: Russell King (Oracle) On Fri, Nov 17, 2023 at 05:15:17PM +0100, Andrew Lunn wrote: > > + t = *state; > > + t.interface = interface; > > + if (!phylink_validate_mac_and_pcs(pl, s, &t)) { > > + linkmode_or(all_s, all_s, s); > > + linkmode_or(all_adv, all_adv, t.advertising); > > } > > } > > > > + > > linkmode_copy(supported, all_s); > > Adding another blank line here was probably unintentional? Hmm, indeed, thanks for spotting. I always forget whether I'll need to send a v2 for something this trivial or whether netdev folk will fix it up when committing it. I'm happy to resend. > Otherwise: > > Reviewed-by: Andrew Lunn -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!