From patchwork Mon Jan 9 21:18:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerry Ray X-Patchwork-Id: 41150 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2386336wrt; Mon, 9 Jan 2023 13:20:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXuLZkSkIEGdYbHT8as/hxDJH86AyTWmLNng0tLeOAG+9Y3DyrE6Ba9OKzVCbFZjdMx8PrJY X-Received: by 2002:a05:6a20:d39b:b0:af:7e01:706 with SMTP id iq27-20020a056a20d39b00b000af7e010706mr78695621pzb.52.1673299209633; Mon, 09 Jan 2023 13:20:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673299209; cv=none; d=google.com; s=arc-20160816; b=EeDHazSq5YZkyv7SIwW9i2jHcampn5y9XlmnLlvHUKXzmh+xTJqkTJ3jqhyKaQzgsy T5cwfOh/8ppacn5AHO4T8k2UWjTbCwxh57BAkxfAJ0zBTg3RGRDiZzUzxtGMJ8QL0XjB 5KIMCr70FVxfTLcwa5in5W/PVCI+ptROTzy4xkBcicl+DKQ5X+WlqJC9PM6Jwf1A1urk zVpn/kRiVxE5s/H8TcA0cRBPllwSOb617XuoVEkkm5sEQHmsVK1Sf4K8l0w64ZyXS68p vhaI/d/PRp1JL825ilO4VeVRz0X19nHVbTP8kPi4SDjp2htXyT8G7sO9IkTg6G1QFhNB HBwQ== 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=zkOYDWpMQFLKfFpUO9z4FlRfP66s9vbtXWwulfELTV4=; b=gBWIlYQjToYatuP2aCcah1xwEUZOJ5ahQTvu+HSa3+3x+1Mg+kiM/lOyRQjJoexKBp 6gnM+owfvEdLRXPNt0byj1QoQFja7eGVhRQUUqcoH0uOgcT0d2HMA7QmLi2ArToHUygN iWe99P1GMTtXMzl4BIElPCRkQ5kvnYq46q3IwZfZXtZChIvts4dCwZmvvJFiNTwuaCum xWye8GSETMLwsDlRDim/gNNUm29ylDL/g1eJ1cZx5rbP5x3jfZwAOoAUtQnpMy0z43oO 4Tg4iSSvZBc1goOJi5pnp5JTreQVV5RwjFKUMxOPIOL3VptWaB+CcWOqDC0dux1dIMH+ RUXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=D59hyTiE; 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 j18-20020a056a00131200b0057d97f8e38fsi9794619pfu.216.2023.01.09.13.19.57; Mon, 09 Jan 2023 13:20:09 -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=D59hyTiE; 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 S237896AbjAIVTs (ORCPT + 99 others); Mon, 9 Jan 2023 16:19:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237496AbjAIVTU (ORCPT ); Mon, 9 Jan 2023 16:19:20 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1FA4DFD4; Mon, 9 Jan 2023 13:18:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1673299136; x=1704835136; h=from:to:subject:date:message-id:in-reply-to:references: mime-version; bh=br/M5WmvwdwxFySfGnmU52+djJ0iOGc1/k2tY+9cOwU=; b=D59hyTiEax65gQWYuc8uameM98iwiTDW6Efm7LGXNhyDmL3IBO7n9nHt 1tqLzgCPtPw7gZP3YtESDvsx/GyrfnKsM5cbVKVHd+cpC3fs0BrWMiNvi Q6ZwShfDNmH0ooOjNrtIBMI8Qmhu/ZgQAUWtrZOYq0AMyYMwIZZgLa5l0 umOiNaSouvxbB4gdq10y6d8dZ3fchEzk4dASRyKbbi5MdZMgoAA0MHP8E cJNMswyyvuDS4D6tyNQNpNNzIKnRAD8/0/r60auR49yNGkgm4YZgH/0jO CGyMVnEpqTknInH89cFa5O3MSiieFcFbyt1jN9YFCbGRCe2BMdpW9WNbg Q==; X-IronPort-AV: E=Sophos;i="5.96,313,1665471600"; d="scan'208";a="131543878" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Jan 2023 14:18:56 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 9 Jan 2023 14:18:55 -0700 Received: from AUS-LT-C33025.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Mon, 9 Jan 2023 14:18:53 -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: [PATCH net-next v6 1/6] dsa: lan9303: align dsa_switch_ops members Date: Mon, 9 Jan 2023 15:18:44 -0600 Message-ID: <20230109211849.32530-2-jerry.ray@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230109211849.32530-1-jerry.ray@microchip.com> References: <20230109211849.32530-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?1754581391913699317?= X-GMAIL-MSGID: =?utf-8?q?1754581391913699317?= Whitespace preparatory patch, making the dsa_switch_ops table consistent. No code is added or removed. Signed-off-by: Jerry Ray Reviewed-by: Vladimir Oltean Reviewed-by: Florian Fainelli --- 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, } 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)