Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2590406rwd; Fri, 19 May 2023 07:43:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6toLvAxTPEeJlPyUzi791pUUviiuSXteJT2r30ABso3QLuw2TzJg9X7Vu4JTrYpx41PECY X-Received: by 2002:a05:6a20:3c93:b0:100:809b:d6b6 with SMTP id b19-20020a056a203c9300b00100809bd6b6mr2613205pzj.26.1684507391309; Fri, 19 May 2023 07:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684507391; cv=none; d=google.com; s=arc-20160816; b=nGISlb3rbXnJ1Egw3NswC5qVy3LzEAuzVZRefEk7iBeHdjFo4/JfEXdEFnGLFaOE6N x3sFttBhdMbjelb4xLYOcTID6nS4keC045ejEI7ktP9IVqGrNrGduLQ9Tywnz6NZ/vwA 2KARVr3JHSkiTl+yeUVo04OIkBqNnyprGFeNF02YbBrGRPWMN3etDQbtqeRPI2udh632 V2DHFsgh38q2JETrH21x4NoeF6SX8+szKG1TGPnvD13UvRxda5W1XskgbLgpIw+Ytv4D ZwLjeFikxGHxripj7f5biZTbqpdPCz3OWCv95KjgHa87WwWVYWtVqVpTojsoPZWkmtH9 Z4cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2dyBL/Fjcpdnrl1DjY+duNlpsL/FPfmgPnyC6R2mRwU=; b=c609fisNEKu1rh2iIl+EdOox8mCJM5/qJnvf//wqTFjFeEh5uxRwptXy0M6Z4oD/XP XOA2XqUgsq3zeu9eWpOw8GPKeCXWRrYLladSZhp/D6j7n5U2NBOotB10KpxhSfxgTYWZ sqfsJsvEBYMIkZrfGYZ3pCl3C7wY8Nbj2FJ3h04NO59F153YFnlAF0/E8GKf5VpQIAnb IIxswU2mR9ynmVSQexDXA6sjbcY8memJbRbSzqQxgMeml5kjnOTFOCguh0VNflzRKXUg 6wn+7uoht+MJLibVR4aW6GhqUNoRfMkLPftnzFwvJnfhln4wSc5gE7YoyWyWLN0+llcw qDlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=EX7d1FS7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h185-20020a636cc2000000b005346bd7dee9si3624076pgc.682.2023.05.19.07.42.55; Fri, 19 May 2023 07:43:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=EX7d1FS7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231993AbjESOg3 (ORCPT + 99 others); Fri, 19 May 2023 10:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230443AbjESOg2 (ORCPT ); Fri, 19 May 2023 10:36:28 -0400 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 AC144E0; Fri, 19 May 2023 07:36:24 -0700 (PDT) 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-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To: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=2dyBL/Fjcpdnrl1DjY+duNlpsL/FPfmgPnyC6R2mRwU=; b=EX7d1FS7qgljmZ4f3EJkiNKgtA PkEEBAgGrv0szuPDIrhdV/Y3tzug8HgelGJdbRvVNmJ36nqrwflOZf5I+X6c0soPvT2+BHYsEbc7E 9aDNavtp2RAwzK/MYTBJe2EKRqTyYaiLBHRpLJ0Vio7Y7NUYkXzx3125wzOFLhMPUYaYPiMeJmehk l/zIj0DrUJkq6uFuuh+FiJFdgX0DQ3HNTkX55holcHjKaQDUSR+hWHvyctNti7BZWLWm1xvkwFnZz nvOxxr8d5BEQNovP2ptoPtwBoqEWGB4vh4imtusJTJXHfZWQN0dM2L+gJUy2apTAiGw/yRAs7u/+S wGzxveFg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:58212) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q01DI-00030Q-IO; Fri, 19 May 2023 15:36:12 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1q01DE-0004gY-9o; Fri, 19 May 2023 15:36:08 +0100 Date: Fri, 19 May 2023 15:36:08 +0100 From: "Russell King (Oracle)" To: alexis.lothore@bootlin.com Cc: Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , Rob Herring , Krzysztof Kozlowski , Conor Dooley , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, paul.arola@telus.com, scott.roberts@telus.com, Marek =?iso-8859-1?Q?Beh=FAn?= Subject: Re: [PATCH net-next v2 2/7] net: dsa: mv88e6xxx: pass directly chip structure to mv88e6xxx_phy_is_internal Message-ID: References: <20230519141303.245235-1-alexis.lothore@bootlin.com> <20230519141303.245235-3-alexis.lothore@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230519141303.245235-3-alexis.lothore@bootlin.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 19, 2023 at 04:12:58PM +0200, alexis.lothore@bootlin.com wrote: > From: Alexis Lothor? > > Since this function is a simple helper, we do not need to pass a full > dsa_switch structure, we can directly pass the mv88e6xxx_chip structure. > Doing so will allow to share this function with any other function > not manipulating dsa_switch structure but needing info about number of > internal phys > > Signed-off-by: Alexis Lothor? Reviewed-by: Russell King (Oracle) Thanks! -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!