From nobody Thu Sep 18 05:25:08 2025 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 C2EECC4332F for ; Fri, 9 Dec 2022 22:47:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbiLIWr2 (ORCPT ); Fri, 9 Dec 2022 17:47:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229626AbiLIWrT (ORCPT ); Fri, 9 Dec 2022 17:47:19 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51EC21C433; Fri, 9 Dec 2022 14:47:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1670626037; x=1702162037; h=from:to:subject:date:message-id:in-reply-to:references: mime-version; bh=br/M5WmvwdwxFySfGnmU52+djJ0iOGc1/k2tY+9cOwU=; b=d2fDZWAQSDLvSzlpy2YM37lyqnwnrz9UDT3tAaQgBJkOf8h7mtsahMdv khd3cNX9hwNq4dpxyDjVu8U0aVWPtoRh7VE9AOxFGFkMYUCt9LMr169d/ RcT4DOLX8PtQx10Qy8ngPVqy0wvkw2AfIO07mFF7gV35TeE+Dy0XthHmA lTPAh7dLatzd/I/bSf+5zaOUkmYmQrBx9tzDLTv2K5hQ+SO00PfeerJbg AGHRNSJ2rXP20hIfwAF61bmOLkfFMIbz9dTR9qEwwa5OmAhtAAMR4pIS6 D5l9o7FqJrWqeeP48Dwh+0XSeaSnqtFXHpAwFUz65cUPOqnkRVAD+hzhM w==; X-IronPort-AV: E=Sophos;i="5.96,232,1665471600"; d="scan'208";a="192458900" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Dec 2022 15:47:17 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Fri, 9 Dec 2022 15:47:16 -0700 Received: from AUS-LT-C33025.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Fri, 9 Dec 2022 15:47:15 -0700 From: Jerry Ray To: Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , "Paolo Abeni" , , , , , Jerry Ray Subject: [PATCH net-next v5 1/6] dsa: lan9303: align dsa_switch_ops members Date: Fri, 9 Dec 2022 16:47:08 -0600 Message-ID: <20221209224713.19980-2-jerry.ray@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221209224713.19980-1-jerry.ray@microchip.com> References: <20221209224713.19980-1-jerry.ray@microchip.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Whitespace preparatory patch, making the dsa_switch_ops table consistent. No code is added or removed. Signed-off-by: Jerry Ray --- v4->v5: changed patch title to be less generic Addressed space-tab issue missed in the initial patch. --- drivers/net/dsa/lan9303-core.c | 38 +++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/drivers/net/dsa/lan9303-core.c b/drivers/net/dsa/lan9303-core.c index 80f07bd20593..5a21fc96d479 100644 --- a/drivers/net/dsa/lan9303-core.c +++ b/drivers/net/dsa/lan9303-core.c @@ -1280,25 +1280,25 @@ static int lan9303_port_mdb_del(struct dsa_switch *= ds, int port, } =20 static const struct dsa_switch_ops lan9303_switch_ops =3D { - .get_tag_protocol =3D lan9303_get_tag_protocol, - .setup =3D lan9303_setup, - .get_strings =3D lan9303_get_strings, - .phy_read =3D lan9303_phy_read, - .phy_write =3D lan9303_phy_write, - .adjust_link =3D lan9303_adjust_link, - .get_ethtool_stats =3D lan9303_get_ethtool_stats, - .get_sset_count =3D lan9303_get_sset_count, - .port_enable =3D lan9303_port_enable, - .port_disable =3D lan9303_port_disable, - .port_bridge_join =3D lan9303_port_bridge_join, - .port_bridge_leave =3D lan9303_port_bridge_leave, - .port_stp_state_set =3D lan9303_port_stp_state_set, - .port_fast_age =3D lan9303_port_fast_age, - .port_fdb_add =3D lan9303_port_fdb_add, - .port_fdb_del =3D lan9303_port_fdb_del, - .port_fdb_dump =3D lan9303_port_fdb_dump, - .port_mdb_add =3D lan9303_port_mdb_add, - .port_mdb_del =3D lan9303_port_mdb_del, + .get_tag_protocol =3D lan9303_get_tag_protocol, + .setup =3D lan9303_setup, + .get_strings =3D lan9303_get_strings, + .phy_read =3D lan9303_phy_read, + .phy_write =3D lan9303_phy_write, + .adjust_link =3D lan9303_adjust_link, + .get_ethtool_stats =3D lan9303_get_ethtool_stats, + .get_sset_count =3D lan9303_get_sset_count, + .port_enable =3D lan9303_port_enable, + .port_disable =3D lan9303_port_disable, + .port_bridge_join =3D lan9303_port_bridge_join, + .port_bridge_leave =3D lan9303_port_bridge_leave, + .port_stp_state_set =3D lan9303_port_stp_state_set, + .port_fast_age =3D lan9303_port_fast_age, + .port_fdb_add =3D lan9303_port_fdb_add, + .port_fdb_del =3D lan9303_port_fdb_del, + .port_fdb_dump =3D lan9303_port_fdb_dump, + .port_mdb_add =3D lan9303_port_mdb_add, + .port_mdb_del =3D lan9303_port_mdb_del, }; =20 static int lan9303_register_switch(struct lan9303 *chip) --=20 2.17.1