From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7E60AA09E9 for ; Tue, 8 Dec 2020 21:12:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 798A0C9F2; Tue, 8 Dec 2020 21:11:59 +0100 (CET) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id 091B8C9BA for ; Tue, 8 Dec 2020 21:11:52 +0100 (CET) Received: by mail-pf1-f194.google.com with SMTP id f9so14356680pfc.11 for ; Tue, 08 Dec 2020 12:11:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=UWV7+I6F8tyaJ3DYBwhlb7IIqsn5sVfNi/xrXtqAmZ0=; b=Wwa5Z601AquO5tQgiPL9Sb25lSz646BoMaA8+OQ1grW0Z2SMTBoDXgfwC5QyO4r8Dm 9BbpG8BvI847vlbAA4Jnk27O4gshZ+7jwENHfUsjS2CT5WUNLC5ljwiyH3dq5QdnLRg0 mE5XXpyLnbENpyE7jWGH/d3PYznUQQ2XR07aw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version; bh=UWV7+I6F8tyaJ3DYBwhlb7IIqsn5sVfNi/xrXtqAmZ0=; b=ZB5G86XhGzQEkqp2ssNp29BrLcHJWlUpzpcdYRqULf2qi+nTUDsgKtVZjtXy++7msD lHaQi6v3K9PXyyf4t1qOPWjPoJt0syBLhUlKi9iBf2Li6qPXWUd0sTvfBkbRXtOEvOgl sclyiQaMlRR9Nxp2q4+TeeKgqYFA6EdP0YquPQTLCRmA8TEOf9rekHGkMKhzsl9Ca3rX WQBgiRVEV+l6zsEYR0Ebl/U1Wzn0AugClXl1m/U8GZidpFmCGznPJA3baK+CoP6guphh 6MGlex8oDzkApMcmRVJbCs8svd97fIl+FiBApqpbnWYDX2yu3WhOjrA9Z118tvV9J468 L3gw== X-Gm-Message-State: AOAM530BcLFQN0iN58ETdlSWT/Liqr6Pow3OR0PvneMRRYfrg4upLBM4 g2mOE/k177RE5XCLRTV0MM+stzyKNI91GFv8CWockcasB0RvPdxbLjLIFQ0D+eI+enFhrK6v/e+ 599HG6VcT X-Google-Smtp-Source: ABdhPJykwmCFRXfKtvR+1CgY6EgQnwolmwJSVttDzcvhB9lRjxoYlbceJn6raln6SbSbpTSAxt3cDA== X-Received: by 2002:a62:7693:0:b029:19d:92fb:4ec1 with SMTP id r141-20020a6276930000b029019d92fb4ec1mr21972021pfc.4.1607458310193; Tue, 08 Dec 2020 12:11:50 -0800 (PST) Received: from localhost.localdomain ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id x10sm5729187pfc.157.2020.12.08.12.11.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Dec 2020 12:11:49 -0800 (PST) From: Ajit Khaparde To: dev@dpdk.org Cc: stable@dpdk.org Date: Tue, 8 Dec 2020 12:11:25 -0800 Message-Id: <20201208201134.47844-9-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <20201208201134.47844-1-ajit.khaparde@broadcom.com> References: <20201208201134.47844-1-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-stable] [PATCH 08/17] net/bnxt: fix format specifier for unsigned int X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" &device requires the %u format specifer not the %d specifier, as &device is unsigned. Fixes: a46bbb57605b ("net/bnxt: update multi device design") Cc: stable@dpdk.org Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/tf_core/tf_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/tf_core/tf_core.c b/drivers/net/bnxt/tf_core/tf_core.c index 24d49096a..3409cbbce 100644 --- a/drivers/net/bnxt/tf_core/tf_core.c +++ b/drivers/net/bnxt/tf_core/tf_core.c @@ -82,7 +82,7 @@ tf_open_session(struct tf *tfp, return rc; TFP_DRV_LOG(INFO, - "domain:%d, bus:%d, device:%d\n", + "domain:%d, bus:%d, device:%u\n", parms->session_id.internal.domain, parms->session_id.internal.bus, parms->session_id.internal.device); -- 2.21.1 (Apple Git-122.3) -- 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.