From patchwork Tue Jan 17 20:56:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerry Ray X-Patchwork-Id: 44858 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2039925wrn; Tue, 17 Jan 2023 15:36:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXsXjx0xvQmqNLHEH2wjhhLh7q3DCWGB+Jehx+20TFhx9P49Zza4Slrm4gOrp3KVEp1Jo7Vl X-Received: by 2002:a17:907:d401:b0:872:1b27:1a43 with SMTP id vi1-20020a170907d40100b008721b271a43mr4889323ejc.31.1673998561532; Tue, 17 Jan 2023 15:36:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673998561; cv=none; d=google.com; s=arc-20160816; b=CuJYPXgYdHOrnPk16KI0sbIB2UQJGn0aJ53T07M6HIEsi37hHVleCR4klWEXb/Rl3V M/vPjjFBNqrEnW3Hkk/HciLmrbqW9luC/lLu5pbJr8Slrun/fXK/OdoxRWpzt/geeOO0 v1ydbhSN7n6jGqipltgRxZPC7ye3gvVS/28WBD+UcDn/e49Cx3ZtezZrE8sUQsLvvE0/ X/j5MMgHG/2LoTDr2cFkwLp5+nxU645TMJsGF1GjKoF3ZaLyFJilVAOBw3t3n9fOcaCn wnsyrCtz8pmpfgXEHKyZ6szCSx/Br0B8fy6BdGN1GGjMs7J9DIzW7ZoN++9ICr13Ii4h gzEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=Y6+gaEYAQ5NB24/o3HcC/CehF9QwGW6qh+NkIWxpAzo=; b=VESXAt7pvkUriYyaLxCrhMrM/Nwb9Soan/eIYoq/tHdwL60IbLe7Br7C/kOcj18dn0 ncVWkGjDP2Ee7pd4FCLbofSbHRMm+BEpm63pMDkVn5hmsnAO7Wz9fIyUK6nnr60dds0p Pe5br/kL+l7ZQD4/nn3XoHAWkoR0UCxRiEWqRT3w/0D0FQTw4nYLv64nTFlxtGT3DZ14 rBILHioNC9pyiv4x7ToWT6GFp08jRBfwLcUeALq9xhFFnEKKD4TcvkB+h5aaOjvA7Hdx bzHJiEt09Uuezoiyf3GnAFzwDzE4zQqYTwzs5GnCh2rCx0xd26zloMm/94TJUoQk0wjL RDcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=yXCbJKHN; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt7-20020a170907728700b0083e0ec05041si36539306ejc.541.2023.01.17.15.35.38; Tue, 17 Jan 2023 15:36:01 -0800 (PST) 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=pass header.i=@microchip.com header.s=mchp header.b=yXCbJKHN; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230045AbjAQXcu (ORCPT + 99 others); Tue, 17 Jan 2023 18:32:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230029AbjAQXbd (ORCPT ); Tue, 17 Jan 2023 18:31:33 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF04D8C92E; Tue, 17 Jan 2023 12:57:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1673989036; x=1705525036; h=from:to:subject:date:message-id:in-reply-to:references: mime-version; bh=4MVjklp+WInBd0klfJLhEVo/AmyM+BveJwsJuTHar2g=; b=yXCbJKHNl0Q//BJshBsSc1Ah0dxISwVTKIh2sW94fIwOw5y5KN0QkLTI 3iVdgtd8z3hWrIQqLeHJcIwwiyxX9BKYmtQqlh5v8bXXbInny+dFIXOxD nEI9y9kEdSTbYXFMKsHLMvaCPLUWRdIrmtxJ+CODhgUIUgbnDk4Wwm7Pb tVev4QGvxT3UnnGaTPKVcDT9OJ01YGYv6l/i3/fsQHxoBZG4DWrNGD+bt R6yXNewM7+EDSOhbthR0dTBn2JHAAyIeTJmyvmjdIpKQSfjjmXeVT9QHJ aVmzXX6TDnD9dm4z6rkojihztE4cYP16xl9bekn/djE7uIA2cEQApARTm Q==; X-IronPort-AV: E=Sophos;i="5.97,224,1669100400"; d="scan'208";a="208210722" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Jan 2023 13:57:08 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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.16; Tue, 17 Jan 2023 13:57:08 -0700 Received: from AUS-LT-C33025.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Tue, 17 Jan 2023 13:57:06 -0700 From: Jerry Ray To: Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , "Paolo Abeni" , Russell King , , , , Jerry Ray Subject: [net-next: PATCH v7 1/7] dsa: lan9303: align dsa_switch_ops members Date: Tue, 17 Jan 2023 14:56:57 -0600 Message-ID: <20230117205703.25960-2-jerry.ray@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230117205703.25960-1-jerry.ray@microchip.com> References: <20230117205703.25960-1-jerry.ray@microchip.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755314715892418630?= X-GMAIL-MSGID: =?utf-8?q?1755314715892418630?= Whitespace preparatory patch, making the dsa_switch_ops table consistent. No code is added or removed. Signed-off-by: Jerry Ray --- 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 2e270b479143..f8f6f79052e3 100644 --- a/drivers/net/dsa/lan9303-core.c +++ b/drivers/net/dsa/lan9303-core.c @@ -1282,25 +1282,25 @@ static int lan9303_port_mdb_del(struct dsa_switch *ds, int port, } static const struct dsa_switch_ops lan9303_switch_ops = { - .get_tag_protocol = lan9303_get_tag_protocol, - .setup = lan9303_setup, - .get_strings = lan9303_get_strings, - .phy_read = lan9303_phy_read, - .phy_write = lan9303_phy_write, - .adjust_link = lan9303_adjust_link, - .get_ethtool_stats = lan9303_get_ethtool_stats, - .get_sset_count = lan9303_get_sset_count, - .port_enable = lan9303_port_enable, - .port_disable = lan9303_port_disable, - .port_bridge_join = lan9303_port_bridge_join, - .port_bridge_leave = lan9303_port_bridge_leave, - .port_stp_state_set = lan9303_port_stp_state_set, - .port_fast_age = lan9303_port_fast_age, - .port_fdb_add = lan9303_port_fdb_add, - .port_fdb_del = lan9303_port_fdb_del, - .port_fdb_dump = lan9303_port_fdb_dump, - .port_mdb_add = lan9303_port_mdb_add, - .port_mdb_del = lan9303_port_mdb_del, + .get_tag_protocol = lan9303_get_tag_protocol, + .setup = lan9303_setup, + .get_strings = lan9303_get_strings, + .phy_read = lan9303_phy_read, + .phy_write = lan9303_phy_write, + .adjust_link = lan9303_adjust_link, + .get_ethtool_stats = lan9303_get_ethtool_stats, + .get_sset_count = lan9303_get_sset_count, + .port_enable = lan9303_port_enable, + .port_disable = lan9303_port_disable, + .port_bridge_join = lan9303_port_bridge_join, + .port_bridge_leave = lan9303_port_bridge_leave, + .port_stp_state_set = lan9303_port_stp_state_set, + .port_fast_age = lan9303_port_fast_age, + .port_fdb_add = lan9303_port_fdb_add, + .port_fdb_del = lan9303_port_fdb_del, + .port_fdb_dump = lan9303_port_fdb_dump, + .port_mdb_add = lan9303_port_mdb_add, + .port_mdb_del = lan9303_port_mdb_del, }; static int lan9303_register_switch(struct lan9303 *chip)