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 DDCB1A09E9; Tue, 8 Dec 2020 21:14:32 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0CBFDC9E8; Tue, 8 Dec 2020 21:11:58 +0100 (CET) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id 6AC07C9BA for ; Tue, 8 Dec 2020 21:11:52 +0100 (CET) Received: by mail-pf1-f193.google.com with SMTP id c12so7870439pfo.10 for ; Tue, 08 Dec 2020 12:11:52 -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=IgfSCmbXJYbPmYWMzGoju3Q8/a1B0J+Et/fF50yzSSE=; b=WEVX/9XWgU6bhAgoJAWEm0gdd6gau/8rh1AMGT+ai7tzDOy5sAwBQF8NE1Fa/13kgQ Bo77UoU2+yTwW/pdk8P4+t0WVWbWEEx0CjTyvO8plEIjwYzlnpvSS9VnK4saUvgFNC6r eYTWTNqIN4NLQCesNh4vmc226N5nDOt279+0U= 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=IgfSCmbXJYbPmYWMzGoju3Q8/a1B0J+Et/fF50yzSSE=; b=pq95mLtcQJZTj4y7ORh6TgWTVgK/ZWJk7/QdwSrX3mySw2nHWtQNbRA4vDTja/k1Rt E3zg7Qclr/WUCokURKZ1wM/ir+xxWVyFIZTjGAcu76ZMKpMe+OGqpzDO7ekOSBMwHvb6 DxFgDutJxCSPcGykMaiujhnnGcMdlH9H5Klc5aWxuqBPP4ov1gUV6cIl5moYxfNmgkLn g4QE++k4ZdTp93vlc7TZB1B16Und06yCUiG/SEZCh96Z6BRa0Uv+L7wvpuh209HjjQSL dqznsHFVLYzFKuF6j9wUYh0Z7D0hoFTat2EE6sGod6hGjlPOnSsqypt107+Hufp9klnP bX3A== X-Gm-Message-State: AOAM532z7LkqDGvAyriRQG7dLO8r9YQf1gwKUzkel1Uk7b0wPDpXyKYn AUsB5clwXZ8Vcu0ChZ7AYLhQDVg4eptQMLZ2/TlRBoiPYch/01Ho2HOc3LcnK9U/re+pt/CWBoK Fp3WEYMDXa/oIDuT4DRplkJfQpfKC+M6xQKF3h2THlQ24C9BkIojCHkyTrUZFAj+LGw== 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-dev] [PATCH 08/17] net/bnxt: fix format specifier for unsigned int X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" &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.