Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1615670pxb; Mon, 11 Oct 2021 09:32:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxc6m3AoEWM2takbyesTtkZtP6uUS9vBojeg0Os7DpHwPi9GT/mmTfz7yyCUKhruyiH5cI9 X-Received: by 2002:a17:906:3913:: with SMTP id f19mr26643555eje.357.1633969953179; Mon, 11 Oct 2021 09:32:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633969953; cv=none; d=google.com; s=arc-20160816; b=1IyM+e5Gt+S5mhFXSuZ/BZFf/kYFqlgPrkuBs5hY6gjZMVcTotnA1Z528gE47P3Zqt SmrXlun1WFIxpU+yhYUn+YsakNK76HJWgxHYoLZ+OeXNsqcySctu6K7PS7pu9M+Uv7mg igy5IlRRk1PyAU8eIEva62XKIKOQqp5xaGwYSd9H4H/OH3xCs6PV+NpkHUTka3+Jd7zz Tln/yOOp0sI7jLvrRzVSi0vnQkHTr0LZKdY8kFO6YBrr2vdsv6VtyfBnjvnFHZ5PUEYt iZ9Gj4G9a4TGtx/obeT5hunPw6mdUSaUR3ZKozjdHCfuiDQ7K0JXRf5cd3GKAq9i6+w4 CeXA== 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=Dh1uebdmGeHX4tE1C6gJ7/KBAai6fnYyJsYYfjJh6s0=; b=UIfkyaAtT8ijX7ro5uVxhIUbqjXzB0/GO7MKhj0tFo6agU6Kn+8S+TVhP1GKmHZlHO zeIQJI2RNzu06G5/5GMsQBf2kGIyDVbRMvmaKt7wKjh1jwBVeOEcxajN9cmqQ3eyElkh ZRnYM/S3XWvSAnxM3yBZoq1chQgQnSwV53tCBHoroNIKRi9f7uXjGvmqJrBmLK99Z33m c7FgZ3hF6+HFKcpUFyH98sSAe+PuG39B/345hpSJznpLV9V/Hs1hckJU/6I+Eyk0Woei jTJFJeoxKyYIxFWp4rURtDYdmzh+daAMYrZxB2+Ycw4yT5yr0kewgKjJJQjOlS5Sg0Fw YC0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=abS5ZO+s; 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 u3si11963319ejf.706.2021.10.11.09.32.09; Mon, 11 Oct 2021 09:32:33 -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=abS5ZO+s; 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 S237239AbhJKN56 (ORCPT + 99 others); Mon, 11 Oct 2021 09:57:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:41744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237635AbhJKN4D (ORCPT ); Mon, 11 Oct 2021 09:56:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A5EBD60C49; Mon, 11 Oct 2021 13:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633960400; bh=jAz0QDhi7uwy6GomUW3C5wwwc48GcIieJyzK9BUlaGs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=abS5ZO+sDCwp3NO1q0/4W3i560UB4+24Lc4y5it2z3o3tLst+HO7dgASbnqOIoguP pDLSKQqvBYmDEptUY21txlrZ+1FwtXepjx65iVEjvcBmsq0SRaVyvAJVvFY6idjmS0 2H2GD3SFZns8Y3wJDQE5kTR0Y0m0su0h22P1o2qk= 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.10 50/83] net: sfp: Fix typo in state machine debug string Date: Mon, 11 Oct 2021 15:46:10 +0200 Message-Id: <20211011134510.123820625@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211011134508.362906295@linuxfoundation.org> References: <20211011134508.362906295@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 2fff62695455..32c34c728c7a 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -133,7 +133,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