Received: by 2002:a05:6520:1682:b0:147:d1a0:b502 with SMTP id ck2csp5596505lkb; Mon, 11 Oct 2021 09:38:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE9aAbEcspybgTvK7sU5Wk5Xs2STiQ2eRwAgS++RTeKdCmdtgJNOgzc9394AG2cj3EVShF X-Received: by 2002:a17:907:3e05:: with SMTP id hp5mr26783993ejc.527.1633970338450; Mon, 11 Oct 2021 09:38:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633970338; cv=none; d=google.com; s=arc-20160816; b=UeQ/EYT8O2Qkxvz2Vtrfl51/ogM7BKDICMVhsA7e8sXb5n9yF1YIokUCDXxljEM87l KLPFdRdoV+Cq7CuDHwoqz0txJcDOSdx9yjgcSq+0EyPr3yIn1CXeUzZbEj+rH97kbrwO 0KolmP9LIZNjJO4tEgiJcMJewkczORqnSD/IOT0VEU+cYA+fVuC+fDWqqG8OPTFKqbvG iFr04Peoan7QSgqh3AntC1dbwzk27+wEzkq0tGHq7xb20e/KbsJp/5dZ1YhcBSXFUkxL 4wN4CouY2QEuGkon0fLiPhvYBdNOOx2BqxhVcfhaAOJExDQ9h4iyJsZzVpe4OMxxTtZr 9aFg== 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=T+PkhJOEQMgYaZ9s7fGLNZ9sjudDMLmy1unlmhpooxw=; b=vMOZcg9miZIyEv0v/ZxiVrNAnQTBTUryOtzti8YpSGCXaQHcJfwcrQuIOTESZ/MQyy BHbasUX42+C1gpv/WTn1FV36BiBE6QEKBvDViM1VN+87KTHK9LjoKK7slPplmtf18SL8 /LUt68Wk/VS34J3gcJwLM7ibXQTD3z4o1GNbt0sVSBtgtKqvfxzdjIqTyajnLmHvCJpp LI3I2KVH5rlYyV6FVukpGG65duFutauUxlGD7SSUEnzV5rgnwrM/v6h5hg/BrHMYBULq +MqnF1uXL1Ds9dA045DIcQyUvpI+Wz2TVggreNXNyGUpy9Z4UFoZX+cmCxKhKf2DRZt+ 4rNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="aLSv52/j"; 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 b8si12281997edm.196.2021.10.11.09.38.30; Mon, 11 Oct 2021 09:38:58 -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="aLSv52/j"; 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 S238160AbhJKORv (ORCPT + 99 others); Mon, 11 Oct 2021 10:17:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:35276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244367AbhJKOPR (ORCPT ); Mon, 11 Oct 2021 10:15:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4475761356; Mon, 11 Oct 2021 14:05:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633961112; bh=1Gbx6fsPMq0Zh33VWR0PPSXpKSZSHF2Fi7f9ZTfARBE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aLSv52/jpt1A1f0qTxgzbM0smYrb55j/gTcDW6S/r7PFTPAkKZ7M9xOwIOFk4O/lh 6uCvoaD14A8n4bJBbObEel45WQmUEuiIJRRUOluH8UQyv+bSGxW6x4xfpqsF8bK9fo F7P741YhQl2W5HJMqUfw1v+kwxMwk4+F91IHb5y8= 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 4.19 20/28] net: sfp: Fix typo in state machine debug string Date: Mon, 11 Oct 2021 15:47:10 +0200 Message-Id: <20211011134641.356657572@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211011134640.711218469@linuxfoundation.org> References: <20211011134640.711218469@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 47d518e6d5d4..71bafc8f5ed0 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -113,7 +113,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