Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83886/?format=api
http://patches.dpdk.org/api/patches/83886/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201110134852.3959367-1-ferruh.yigit@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20201110134852.3959367-1-ferruh.yigit@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201110134852.3959367-1-ferruh.yigit@intel.com", "date": "2020-11-10T13:48:52", "name": "net/i40e: fix build for log format specifier", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "18248a9c7c95004f33d87ec1718712a4c4dcb9e3", "submitter": { "id": 324, "url": "http://patches.dpdk.org/api/people/324/?format=api", "name": "Ferruh Yigit", "email": "ferruh.yigit@intel.com" }, "delegate": { "id": 1540, "url": "http://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201110134852.3959367-1-ferruh.yigit@intel.com/mbox/", "series": [ { "id": 13773, "url": "http://patches.dpdk.org/api/series/13773/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13773", "date": "2020-11-10T13:48:52", "name": "net/i40e: fix build for log format specifier", "version": 1, "mbox": "http://patches.dpdk.org/series/13773/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/83886/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/83886/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B07F8A04B1;\n\tTue, 10 Nov 2020 14:49:03 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 76E66F90;\n\tTue, 10 Nov 2020 14:49:01 +0100 (CET)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id EC65CF64;\n Tue, 10 Nov 2020 14:48:58 +0100 (CET)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Nov 2020 05:48:56 -0800", "from silpixa00399752.ir.intel.com (HELO\n silpixa00399752.ger.corp.intel.com) ([10.237.222.180])\n by fmsmga005.fm.intel.com with ESMTP; 10 Nov 2020 05:48:53 -0800" ], "IronPort-SDR": [ "\n 0AW3PpuEt0mZsV/jILI2VYYYWSAGCMd1XNMEL1XZ3Ne8QOKdOonP3Uh5s4gLSAEQyNe063wZQM\n FVUtMt385+Jw==", "\n vtkYnHVfyKClz9DDEgIlqvQTFMwsmk0nR5NiOJdUbZUEINdTZjT/MBSqoW0PC+B38JIY4af6Pp\n DuWBA8JqYR2g==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9800\"; a=\"231600366\"", "E=Sophos;i=\"5.77,466,1596524400\"; d=\"scan'208\";a=\"231600366\"", "E=Sophos;i=\"5.77,466,1596524400\"; d=\"scan'208\";a=\"531214993\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Ferruh Yigit <ferruh.yigit@intel.com>", "To": "Beilei Xing <beilei.xing@intel.com>, Jeff Guo <jia.guo@intel.com>,\n Remy Horton <remy.horton@intel.com>, Helin Zhang <helin.zhang@intel.com>,\n Jingjing Wu <jingjing.wu@intel.com>", "Cc": "Ferruh Yigit <ferruh.yigit@intel.com>, dev@dpdk.org, stable@dpdk.org,\n Luca Boccassi <bluca@debian.org>,\n David Marchand <david.marchand@redhat.com>", "Date": "Tue, 10 Nov 2020 13:48:52 +0000", "Message-Id": "<20201110134852.3959367-1-ferruh.yigit@intel.com>", "X-Mailer": "git-send-email 2.26.2", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH] net/i40e: fix build for log format specifier", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "build error:\ni40e_common.c: In function \"i40e_parse_discover_capabilities\":\n../drivers/net/i40e/base/../i40e_logs.h:43:50:\n error: format \"%llX\" expects argument of type \"long long unsigned\n int\", but argument 7 has type \"u64\" {aka \"long unsigned int\"\n [-Werror=format=]\n 43 | rte_log(RTE_LOG_ ## level, i40e_logtype_driver, \"%s(): \" fmt, \\\n | ^~~~~~~~\n.../i40e_osdep.h:87:3: note: in expansion of macro \"PMD_DRV_LOG_RAW\"\n 87 | PMD_DRV_LOG_RAW(DEBUG, \"i40e %02x.%x \" s, \\\n | ^~~~~~~~~~~~~~~\n.../base/i40e_common.c:4100:4: note: in expansion of macro \"i40e_debug\"\n 4100 | i40e_debug(hw, I40E_DEBUG_INIT,\n | ^~~~~~~~~~\n\nUsing 'PRIX64' to fix the build error.\n\nFixes: 889bc9f0cd3a (\"i40e/base: unify the capability function\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\nCc: helin.zhang@intel.com\nCc: Luca Boccassi <bluca@debian.org>\nCc: David Marchand <david.marchand@redhat.com>\n---\n drivers/net/i40e/base/i40e_common.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c\nindex 8e3db0756c..e20bb9ac35 100644\n--- a/drivers/net/i40e/base/i40e_common.c\n+++ b/drivers/net/i40e/base/i40e_common.c\n@@ -2,6 +2,8 @@\n * Copyright(c) 2001-2020 Intel Corporation\n */\n \n+#include <inttypes.h>\n+\n #include \"i40e_type.h\"\n #include \"i40e_adminq.h\"\n #include \"i40e_prototype.h\"\n@@ -4098,7 +4100,7 @@ STATIC void i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff,\n \t\t\tp->wr_csr_prot = (u64)number;\n \t\t\tp->wr_csr_prot |= (u64)logical_id << 32;\n \t\t\ti40e_debug(hw, I40E_DEBUG_INIT,\n-\t\t\t\t \"HW Capability: wr_csr_prot = 0x%llX\\n\\n\",\n+\t\t\t\t \"HW Capability: wr_csr_prot = 0x%\" PRIX64 \"\\n\\n\",\n \t\t\t\t (p->wr_csr_prot & 0xffff));\n \t\t\tbreak;\n \t\tcase I40E_AQ_CAP_ID_DIS_UNUSED_PORTS:\n", "prefixes": [] }{ "id": 83886, "url": "