From patchwork Mon Oct 4 19:15:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12534563 X-Patchwork-Delegate: kuba@kernel.org 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 143EEC433EF for ; Mon, 4 Oct 2021 19:16:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F10B961452 for ; Mon, 4 Oct 2021 19:16:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238588AbhJDTRt (ORCPT ); Mon, 4 Oct 2021 15:17:49 -0400 Received: from mail-eopbgr50077.outbound.protection.outlook.com ([40.107.5.77]:3542 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S238664AbhJDTRo (ORCPT ); Mon, 4 Oct 2021 15:17:44 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bJynDbyzYcWmVoypoUqDzN4m08JgJvkx/8/6kF9AhFFmzkZHbj9SUeEQSLnL/BxkKlBr1DY8Co1Zj2O5sqsnM8fGETyCDGl1PQ2wg71sl5rUHz+gvujsXbxfnNyQtH1yGZLYdJpHKpa9/bgjX8HIeY8LUoFr1l5x09C68vOrpq1jbmn+pQrcEiC2G+bdUIkB50HPr6yX8EQuc3dp/Sq/U4tRxbhcqwnrOGrBAHosxJarQF0JXQxL9SnZwrBg2sJDdKm3Pv1iOOEJY9OthHZEIfUQ5rb/JpqcMJY3mRo1+glsIUGDzTSQZJaYWwAVMFr/AVGe9yaW81ucaPX+GuyXiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VCIe0IukDIjAiicnw2Cbu3bzzlO0kk7AeA7piE7rXEo=; b=c1BYt3l4ArzvRchDfDZVOVcxtjUCw8948d9DHfyOei8raNKVYj3IAaWIr8Tm8t4Q+c3d4WT9ROWAXYoeUsvE2Krk4B24pAFBlUF7CjSNMcn0PRW99SeVh+oFqE5N6uN8uiwt1jeTjjjQKfx7rOHLeskEve7hSllVg8S9o4hpiKtg2D9G2GvxhQQJrq7PGWCnxktKR3y3BGtdHneE7a5VZDq9F5pe5cplAJb2dx0C2jcEtU8eFWJZSRRLjjBDAnh4wlgsjjxyLFP5jOqXrclbKy6VnvOPTNQ3c8m8U1XCjvEraumkVwAWH3xTS+HBhlbJ+APSXXV+NfN58QJKI2KSfA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secospa.onmicrosoft.com; s=selector2-secospa-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VCIe0IukDIjAiicnw2Cbu3bzzlO0kk7AeA7piE7rXEo=; b=Dn+DykDJ/QxwCgOGG8J+Y7joyPXayu50+jwB+vK1D9SX87Ue410f0QzPdMJJx7eZL3fcF2Wba+hOPrMpjZiEMf+Y0E71D+7ikoQzJxZMEIOsaW5Zd++QIuZzy0rwxLXA4gjm0elBNwcBzu4mw3+GXsfzNI1IvIDfbT5poX2px0o= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=seco.com; Received: from DB7PR03MB4523.eurprd03.prod.outlook.com (2603:10a6:10:19::27) by DB9PR03MB7434.eurprd03.prod.outlook.com (2603:10a6:10:22c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.19; Mon, 4 Oct 2021 19:15:51 +0000 Received: from DB7PR03MB4523.eurprd03.prod.outlook.com ([fe80::a9aa:f363:66e:fadf]) by DB7PR03MB4523.eurprd03.prod.outlook.com ([fe80::a9aa:f363:66e:fadf%6]) with mapi id 15.20.4566.022; Mon, 4 Oct 2021 19:15:51 +0000 From: Sean Anderson To: netdev@vger.kernel.org, "David S . Miller" , Jakub Kicinski , linux-kernel@vger.kernel.org Cc: Andrew Lunn , Heiner Kallweit , Russell King , Sean Anderson Subject: [RFC net-next PATCH 03/16] net: sfp: Fix typo in state machine debug string Date: Mon, 4 Oct 2021 15:15:14 -0400 Message-Id: <20211004191527.1610759-4-sean.anderson@seco.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211004191527.1610759-1-sean.anderson@seco.com> References: <20211004191527.1610759-1-sean.anderson@seco.com> X-ClientProxiedBy: MN2PR08CA0023.namprd08.prod.outlook.com (2603:10b6:208:239::28) To DB7PR03MB4523.eurprd03.prod.outlook.com (2603:10a6:10:19::27) MIME-Version: 1.0 Received: from plantagenet.inhand.com (50.195.82.171) by MN2PR08CA0023.namprd08.prod.outlook.com (2603:10b6:208:239::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.17 via Frontend Transport; Mon, 4 Oct 2021 19:15:50 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b8df990f-5ff9-47ae-e8a9-08d9876b6160 X-MS-TrafficTypeDiagnostic: DB9PR03MB7434: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:612; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WfBUDOaoeUL6NdDmxAusbPyFMdsxezcIuX43pZImETBDnzHC8X+gW6K3K0GoIV4uN2TRBWcZrhTzndD7RfIgY0m7qal30aW53YzRrvQ9SSj2umtqBej4BAS2+6dpeFujPciuZwkkM0goMIcwBk4YSJdvVo1MF8wqZ6EUfC9rG8FfsPeV31irUZg38/l5cvwauxjMrZoMeUr8oE8RYlnCAF9UEar0EYtQignaqo2PMHM7NXrg2SIv7iRlbUmQkDBwdtUMUGwbF+P3WKvFxDYgjeLcDyN50JDSsQ+LFIGXGj9Lk9qsO4fD1Gm8Mks2F3I+wjQwAM4hrOuARMYRjlp+QUMOfmg8ubqyALqVMx0A80AzzrNRvyIfDfBsnNS/+b0T9Pqyv+KUHUJ/oKxgiah4vTiLleGqeQgHNWRNNrtDJh6412SIP+taqOY6QQivlLvOHmVzvDbg02dRofrKeL9rFmJLKqMMTvblcZcWMOdEIIfVBxIh/+d0k7qhoWNiWRm0sKuRKoJkjnukbIYlfDef9wPUUKJA35MqzYs9xUn+tZgjoh2YHFPDbB1i+83zbPOnDsJh8t4N6vNze4+BNJatcHy2C2DKPMG6mEzeA/Nzy9sV/+paq7xOEiJVHsITCBG5ImEyfbjipUGxLcakNWyCoB5YdmZ2ZxgH7ePENqnK+Z+BhCk99mD8GsFiAgy5rrU643UuArR/K+PH+VoUDcmj6g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR03MB4523.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(1076003)(86362001)(4326008)(44832011)(6486002)(5660300002)(66946007)(508600001)(38350700002)(83380400001)(52116002)(956004)(66556008)(66476007)(38100700002)(110136005)(6506007)(2906002)(186003)(8936002)(316002)(8676002)(4744005)(2616005)(54906003)(26005)(6666004)(107886003)(36756003)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-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IOkcS5UVv2nlmNLeZUInb+bP8smVjMQaZ7DMKCOJKcmLVGmtHqiW6Mc7dXS0lL9//bAz7NjK45v+HHGWY+xQpRM9toPgz7fl3SMPgnlYxkKsLicpCHwnMZTVgrtx0pGRE9A++VyypFAUJdANuM9CmObOPaTj7DXcWqYPpSF+0yMVqiiYZba9a2A04NQxNsR+CE5GyUN1Ui7EWBflXN21Lw4rJNgsjkP7/9eMFsx3k5rwt4J9NbNhC3i3qMBB89NZfU5M2bSt2LBH/mraglpkAl3ldWH4Bn/H56TTn4l3tkeEEnn5w5xluWtMoGMDYCWTT1 X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: b8df990f-5ff9-47ae-e8a9-08d9876b6160 X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4523.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2021 19:15:51.6438 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9mKx57bO6yE99WIhEGcZyLXuPvn3LwM6GTIKDRg7MeNlZ2IEbVvEhHD0+gat+k99+KqtdxvwqwgpHgvvRIPxeg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR03MB7434 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org X-Patchwork-State: RFC The string should be "tx_disable" to match the state enum. Signed-off-by: Sean Anderson Reviewed-by: Andrew Lunn --- drivers/net/phy/sfp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c index 34e90216bd2c..ab77a9f439ef 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -134,7 +134,7 @@ static const char * const sm_state_strings[] = { [SFP_S_LINK_UP] = "link_up", [SFP_S_TX_FAULT] = "tx_fault", [SFP_S_REINIT] = "reinit", - [SFP_S_TX_DISABLE] = "rx_disable", + [SFP_S_TX_DISABLE] = "tx_disable", }; static const char *sm_state_to_str(unsigned short sm_state)