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 BC32FA04DB; Wed, 9 Dec 2020 20:25:26 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 55E9DC9F2; Wed, 9 Dec 2020 20:22:58 +0100 (CET) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id 851E5C9BC; Wed, 9 Dec 2020 20:22:51 +0100 (CET) Received: by mail-pl1-f193.google.com with SMTP id s2so1465079plr.9; Wed, 09 Dec 2020 11:22:51 -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=mZrk+8m+1UU3gR7IM0n0itksh8WPrfmn+cRFIPwSNdBjhM1sBd6zcFbxBRA2oYL5ZR kch/hiBJX7aU/YRiZ5DG+s2ZYv8hdqGzYmSFHE17RA505l1bS/zlpcWdXQMJ7BLuNZ3a NsUxBY6CmG7rE2v92xSXRgCexofRRdYQE6K9KDpiZPyIhzh6bIEyjgFoRa0Lwm2WHAHR CkeY2AKrAg+HihGQsgkno8txLhYzfYJ6orihtFVLhvQcEGFT9pAleE2FovyOrIJWBs8+ juxijGd9jABdFE0g+A1anMzr1X5M0BlX7aafZ4lib5pS+b9hn6qycyI2GEr0AydpQj1J e5nw== 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=o7vMDpAwlebnbnro7743DUnp/pWlrxlH6LVvvW8EIeGFeVKbei9vB8XIpcI+VRYZej wH37iWPvl0V9WTlpkZWKnZIQ6vBQ6PWzN5WzK8EVCVUVWo4Fw2LejBiV1RJa8ySId8ct 1cmO1Ppynmy4zy7uoMqimRwiFpzQFjdbFYhXfpYkAKFJg6yJYu2pZ/Rhj6GoLtMk7/mp Ze1knLUrS2uPYbE1UYHzdh7ehe1AX0eljNx+BReyQbM+OL7ppueFAPt6Gtt+TWR4qPhi iLgo092i9aWAsA4zyqwiuOQF6dPyUmYW7J/dMws5SBKMgAvaLBqj2RmH8t/+IoxaUzbJ p5pA== X-Gm-Message-State: AOAM532SrVbL0uJscS6WJ1Gb2569jAs8qd98UVeu31yofrYMEFpKsvhy zyHfz8ga+ck0+DXfzgPY7nC7/rIOTeNtHnDU X-Google-Smtp-Source: ABdhPJzN7iyqKdXD41FVSeXuTicyBVnV2j/1lNJMfsdT6aoWZ38fjEjgzye4URapV5mdTwDAwjEHbA== X-Received: by 2002:a17:902:850c:b029:da:e4a6:3641 with SMTP id bj12-20020a170902850cb02900dae4a63641mr3462133plb.57.1607541769458; Wed, 09 Dec 2020 11:22:49 -0800 (PST) Received: from localhost.localdomain ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id y1sm3342449pfe.80.2020.12.09.11.22.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2020 11:22:48 -0800 (PST) From: Ajit Khaparde X-Google-Original-From: Ajit Khaparde To: dev@dpdk.org Cc: stable@dpdk.org Date: Wed, 9 Dec 2020 11:22:24 -0800 Message-Id: <20201209192233.6518-9-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <20201209192233.6518-1-ajit.khaparde@broadcom.com> References: <20201209192233.6518-1-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 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)