From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9051645AB0; Fri, 4 Oct 2024 22:53:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B94624329E; Fri, 4 Oct 2024 22:53:42 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 876DD402EB for ; Fri, 4 Oct 2024 22:53:41 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-71dae4fc4c9so2220516b3a.0 for ; Fri, 04 Oct 2024 13:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1728075220; x=1728680020; darn=dpdk.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=K7xWt2UjJ9qZ7oM5fPSdS4EWHZYY1C25hNijRSvE7qk=; b=AGyn/Ao6R9o/isZf2c7eyr3Tod+5JHo7vg5DLC/o/HV3y+rKVzdg0hoqdk2t8Xtk/i +WJsSQRLZHeuUM0ZzWME/rTlyo2BSpoozr1O8PdCP89WjE5kioPQ7z5i1JH9pmIhPu2e 2Nx4UcFXEQ0Lb2yKoOinz5GPEwGVKpn3fb8JM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728075220; x=1728680020; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=K7xWt2UjJ9qZ7oM5fPSdS4EWHZYY1C25hNijRSvE7qk=; b=Qc+QxveW8J3xOpDbHQU+BBPrNtUuBRtlxRolc9qHdEiTx6Mi8UsV9RYHAcj+slIkxg fkrBZTf/8K+fI1CaOYxnG7wx2yVKGTgxl+96nb7Ib7/Pr8DIpjLna2RXZFcwYKjt3bwy lgMMdMas/LhMgiu3efh2tUTiWVC4FgoOu3m7xOzN4InD9lx3RR4UlLhTMvZrY8+BmQmG D38JQGs1VzVGm1NWZPA9ztnPZUeTLz7THhWw9XhVZ/RZKppve2hAIuLt6Dl1/f5AriQR ADYaLTVA7916Pk1/w98+wETHqu6C21hAA0wRsa1hSrkuPUEkjtss7NQ12RH1CHkWow7x H3Rg== X-Gm-Message-State: AOJu0YwcnixoAslan+nwFWx5YVYxZeoj2p9OeVXkXC04CFeU2OgVpo7/ xs5OIXrpw4rVeEBki1bPA6SKdIJS3BDdimyAyiL4nVHrqKTmKSItkeiDn8WUpr/CO5mHLlyEVAO caSFKd2PdIOknuMJQXuaBrEXawK8Wi34sJzb6Y+Q3jB8rtFZrpKa0Ruk70poBo1xU0TTc30spEo smHxhb1c1AmWR4BXqH3diNO7IVPiN5dxz1k3lOJ6y1 X-Google-Smtp-Source: AGHT+IEYSjlc2iVGjHCdfpOVxv0Gv5YW1HXtqOS9DKNbow/swR/pRtLNmTEeHElwGjRVD8S6kNlFiw== X-Received: by 2002:a05:6a00:2289:b0:717:87a1:786 with SMTP id d2e1a72fcca58-71de23c4e13mr6017756b3a.9.1728075220111; Fri, 04 Oct 2024 13:53:40 -0700 (PDT) Received: from localhost.localdomain ([192.19.224.250]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71df0d7d3b5sm291550b3a.215.2024.10.04.13.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2024 13:53:39 -0700 (PDT) From: Damodharam Ammepalli To: dev@dpdk.org Cc: ferruh.yigit@amd.com, david.marchand@redhat.com, stable@dpdk.org Subject: [PATCH] net/bnxt: fix newline character in speed display Date: Fri, 4 Oct 2024 13:48:00 -0700 Message-ID: <20241004204808.13191-1-damodharam.ammepalli@broadcom.com> X-Mailer: git-send-email 2.43.5 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Mistakenly "\n" sneaked into bnxt_print_link_info which prints the speed and lanes information of Broadcom Thor2 NIC. This patch removes this newline character. Fixes: 7bc8e9a227cc ("net/bnxt: support async link notification") Cc: stable@dpdk.org Signed-off-by: Damodharam Ammepalli --- drivers/net/bnxt/bnxt_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index c6ad764813..18eba0c770 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -1383,7 +1383,7 @@ void bnxt_print_link_info(struct rte_eth_dev *eth_dev) eth_dev->data->port_id, (uint32_t)link->link_speed, (link->link_duplex == RTE_ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n"), + ("full-duplex") : ("half-duplex"), (uint16_t)bp->link_info->active_lanes); else PMD_DRV_LOG(INFO, "Port %d Link Down\n", eth_dev->data->port_id); -- 2.43.5 -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.