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 BAACD45AB0 for ; Fri, 4 Oct 2024 22:53:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B3F2402EB; Fri, 4 Oct 2024 22:53:42 +0200 (CEST) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id 043E5402EB for ; Fri, 4 Oct 2024 22:53:41 +0200 (CEST) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-71dae4fc4c9so2220512b3a.0 for ; Fri, 04 Oct 2024 13:53:40 -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=vb4IGxchiFX10RPEW56RGeMp3SUsf4UoQx40G4jCBoK0turx7U/3aWYK/G1bB1PBN+ QYJp+28rMTC0u0raBFp2mM88miPqfliX/x8VGFa3TD9ilJFIFUK87YtV+9Aps8VE4xUM l7O3oNlzL9QO9a4Db+wQqEcLfVM+q77zP723hQOOGPVA/VcfXpf2Qhk5vg6nXONJlw+k rltaWjuyoRtAJYw1w9fzoe4/spAcMeUREibuZv3nWV9mmFhYc9X52lslVDJvj0ce1dDh TsPSV/e+5Vs08sC53sXlI0Q6aiqId5Jd6m1bDrgwLf349+6LRLkAY8u31Z33NiMicFaY bckQ== X-Forwarded-Encrypted: i=1; AJvYcCVYp7KJXCODoKZxlMTJwc11ZMrWEf0IOUugNMhxLNcBJVZq0a4f02LeewU38DS/+pwfr/i2LfI=@dpdk.org X-Gm-Message-State: AOJu0YzP9KbhsN/tOFXDRXZ20HqovQFmCeIKxKdrWNhfEydQs0rAgWbf LYuFASxmeSf7f+w0INqsWkrpuuDZ7rHI2aR6zsKZsFLjUKignpr//gF/ZflEDhL58N4r5RBseLz nuHSz59l2MNadKBnrqfAvIRWnHRBqTTFIFg== 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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.