Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1613461pxb; Mon, 11 Oct 2021 09:30:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzc1EqmnqgyK7po71MUZY1VfUD23eYSXTPm7rqM9vE2Jght7D+6uYGncqHDcTj25jkw3TNx X-Received: by 2002:a17:902:e801:b0:13f:255:9db5 with SMTP id u1-20020a170902e80100b0013f02559db5mr25222038plg.23.1633969806769; Mon, 11 Oct 2021 09:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633969806; cv=none; d=google.com; s=arc-20160816; b=eSG+tykSSjAV5ZZnQMNEkNW7+2LHq3txy2amwxifN4vicOG/qnYtuATlW5wQl/1Qkn 5yU5ZFGe2PZDeiJdKrPgdc/amTLAyvq8YdKY4SDBsgA2nIjfATsWTA2R8yJTyJE7ELHq bYLnIu1sER0XmrjtjobGmP91RvK9Ql5BAbBNFXOiT5ADFmEluIbgDX6CRpxVvEmS+8E/ jcEX9qP3IOHvOWOca3lOrijfGy9xhKYYwbcZRwhbHG0A3OoEyr9wQvOp5siVhIuW9GHr S4nxsd7wd7YlS5PQOp55PPqzc/OOFAQSoZGPX1YJhc8+R7CLTPm87DWN8/E4fdg+WcMn jGTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=PFrksxn60pXr5LvBZhQh+MXbSHirk4RFW9PWivJX+gc=; b=NtxmPGqQpbo2VWqP4OFVQa+/I9atX4A2yLq7i/hLk4+IeIsx5HTu7o5DtT48ptTVWl kBYKsuwke5QerxVby8M0864LTdnAca4vz5fnBXy9ZOTrct8V04LGI4rFAedYj+u0MZ4A jW6sSmCRSe2hIAO/fUV5NYwCkXG4TGJ+DIEKbpfYtfQOFzUPMUEpOxrBDS+WzrkB1ak4 5H0bJqtwjQI3kesXU4/Xanvx8YbdxTCdMSn2hR/Rg54AnBtsv0A/JRHPcOdvk0x5hZYs fvduOz14zG1BAS/a7GG1Ct1wr//iC3tRb8+XJ6UNtYYtB2QfNHHwSjxKSGjXdo/0gvkA Lb9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wOls78Vt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si10968433plv.423.2021.10.11.09.29.52; Mon, 11 Oct 2021 09:30:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wOls78Vt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237682AbhJKNyJ (ORCPT + 99 others); Mon, 11 Oct 2021 09:54:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:41534 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234752AbhJKNwi (ORCPT ); Mon, 11 Oct 2021 09:52:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3327460F6E; Mon, 11 Oct 2021 13:50:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633960238; bh=Z+85R7jN/VSboa1KuvDE4btCrFGwBfc/hklEbIefrss=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wOls78VtH4cyVN4yWa/ntYuRti0hp9agqJby0VMAdiLJDrNBvEd1sW1sA1t+IySfB c0Qpad6jHg1nvb8+Vyx5clFIX8aec9ngplnWhzWpAB77snMH+7LALU7sO3iqPUG1U3 kNLn6uWGUh4f8bTKdtvZAI9aW1WKoSbKIXQm8YB0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sean Anderson , Andrew Lunn , "David S. Miller" , Sasha Levin Subject: [PATCH 5.4 35/52] net: sfp: Fix typo in state machine debug string Date: Mon, 11 Oct 2021 15:46:04 +0200 Message-Id: <20211011134504.938591592@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211011134503.715740503@linuxfoundation.org> References: <20211011134503.715740503@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Anderson [ Upstream commit 25a9da6641f1f66006e93ddbefee13a437efa8c0 ] The string should be "tx_disable" to match the state enum. Fixes: 4005a7cb4f55 ("net: phy: sftp: print debug message with text, not numbers") Signed-off-by: Sean Anderson Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- 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 27b67f12ec45..5657c604602e 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -115,7 +115,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) -- 2.33.0