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 E2C5AA04DB; Thu, 10 Dec 2020 00:56:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 242D6CA04; Thu, 10 Dec 2020 00:54:11 +0100 (CET) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 90F99C8F8; Thu, 10 Dec 2020 00:54:04 +0100 (CET) Received: by mail-pg1-f196.google.com with SMTP id w4so2420923pgg.13; Wed, 09 Dec 2020 15:54:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CSoc2hNtNOC/LiyMti8IDCG15Dap4qlzyAUdEMq4iK0=; b=UkIuosKmbBjS1ee99uM+RcoTWfN4hH5aqDKPt93VNX3OfcmeBbquRXXjZL6thBzudA OEswiz38UvAlnBQvVPzoNyiOrgznGWaBY9G8ikwgCAIvQxIiihI4r7u7gqUeD3HWBmrt +2nvAIjEdmy/XAb0R7egEuVRnGh5w9VOYgqLzypd5ucUrkS91N5UBBo/L6jqPWskN5S0 lNUThd2yxk2MIpso4CgtGyF7lREgmQ2CkrqmpyXlpBqn6ULLnC4qiONAy5gW28UWPJWc yskHwBfIVUp4cMSK5u5VwHW67js0xcE6608LR0oujHmXjIuGvc+vRJpdLTtxW5/VgvA5 3Ggg== 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:content-transfer-encoding; bh=CSoc2hNtNOC/LiyMti8IDCG15Dap4qlzyAUdEMq4iK0=; b=hbyrK7THomOR2BmGXd2ye1Ql5x/v60e6qRSCcF+FQjXYEeK+5STxyor3mgjhYn2OgZ 4qESus7WhnQ4TWHWt3Bss73mSBKmP1vjAVNtB3WJba3T6le2SUUTt+9HqbdYrcvOuasw JTeiT/ZOMDXpzrHWAgk6yxTe3reRA4nxGGmtf9sds+z5cFjBr6WanyI0pdaqDAvM7VEm ofb1VCTV49lQaLBJLdoLgo4owg1q8XzfNN8zcCV/LRnU/mNjbaNrpHlsoRubnPcM+l7c JCaSKfCNSFDF3LeaQLWObBWlxAl0wzSJvmwg0Farkyw4YiHYr6giPkS1kUve4Lu6aY0X aKcg== X-Gm-Message-State: AOAM532/5RA4eXuDL903BI2CBWNqY8uy1s0SnPiuMXZiPLW1Id2tf1B/ zsb4dlnwQASOx+/0HOFf2IxNJc1H70RCucqN X-Google-Smtp-Source: ABdhPJyWUJiSIWls8hetBI4Bto/t4OR1LQO6zns3T5wbmaiBRuAEUz218AqmcB1cJKsFXxyS/4qKWQ== X-Received: by 2002:a17:90a:8c18:: with SMTP id a24mr4428577pjo.215.1607558043555; Wed, 09 Dec 2020 15:54:03 -0800 (PST) Received: from localhost.localdomain ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id s7sm4047693pfh.207.2020.12.09.15.54.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2020 15:54:03 -0800 (PST) From: Ajit Khaparde X-Google-Original-From: Ajit Khaparde To: dev@dpdk.org Cc: stable@dpdk.org Date: Wed, 9 Dec 2020 15:53:38 -0800 Message-Id: <20201209235347.16180-9-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <20201209235347.16180-1-ajit.khaparde@broadcom.com> References: <20201209192233.6518-1-ajit.khaparde@broadcom.com> <20201209235347.16180-1-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 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)