From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5169C433FE for ; Wed, 16 Nov 2022 13:41:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232182AbiKPNlI (ORCPT ); Wed, 16 Nov 2022 08:41:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230442AbiKPNlA (ORCPT ); Wed, 16 Nov 2022 08:41:00 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A48AA220F1; Wed, 16 Nov 2022 05:40:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=8CNKONbPsHVuBjhN3Yan5ZJSnMHP9Xc3XGVCDVQAigA=; b=GKC6ocABvjkEElZznIZqXoz669 5h+S5XRBU73za3jo4gMh6BVZbXwsLT4giRS86TN2XE8PfEX7t3B4qnQSQO8/wD/+FCH8gXhCc4tUe Jn6oNCGm8Azt7roWsVJB/WRLmJOx83uPKsvOZr/GBYuwZZQVajKlHRUmciIfEc6ho/44=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ovIel-002ZU9-0H; Wed, 16 Nov 2022 14:40:47 +0100 Date: Wed, 16 Nov 2022 14:40:46 +0100 From: Andrew Lunn To: Rasmus Villemoes Cc: Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/3] net: dsa: refactor name assignment for user ports Message-ID: References: <20221115074356.998747-1-linux@rasmusvillemoes.dk> <20221116105205.1127843-1-linux@rasmusvillemoes.dk> <20221116105205.1127843-2-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221116105205.1127843-2-linux@rasmusvillemoes.dk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 16, 2022 at 11:52:02AM +0100, Rasmus Villemoes wrote: > The following two patches each have a (small) chance of causing > regressions for userspace and will in that case of course need to be > reverted. > > In order to prepare for that and make those two patches independent > and individually revertable, refactor the code which sets the names > for user ports by moving the "fall back to eth%d if no label is given > in device tree" to dsa_slave_create(). > > No functional change (at least none intended). > > Signed-off-by: Rasmus Villemoes Reviewed-by: Andrew Lunn Andrew