Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/71947/?format=api
http://patches.dpdk.org/api/patches/71947/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200622075529.24180-5-talshn@mellanox.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": "<20200622075529.24180-5-talshn@mellanox.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200622075529.24180-5-talshn@mellanox.com", "date": "2020-06-22T07:55:24", "name": "[v8,4/9] pci: fix format warning on Windows", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e81e6f39b03c4bfcc79459f450beed33dda5e8fb", "submitter": { "id": 1669, "url": "http://patches.dpdk.org/api/people/1669/?format=api", "name": "Tal Shnaiderman", "email": "talshn@mellanox.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200622075529.24180-5-talshn@mellanox.com/mbox/", "series": [ { "id": 10544, "url": "http://patches.dpdk.org/api/series/10544/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10544", "date": "2020-06-22T07:55:23", "name": "Windows bus/pci support", "version": 8, "mbox": "http://patches.dpdk.org/series/10544/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/71947/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/71947/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 C4872A0350;\n\tMon, 22 Jun 2020 09:57:19 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id CE0341D621;\n\tMon, 22 Jun 2020 09:55:55 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id EFE7D1D573\n for <dev@dpdk.org>; Mon, 22 Jun 2020 09:55:42 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n talshn@mellanox.com) with SMTP; 22 Jun 2020 10:55:41 +0300", "from l-wincomp04-vm.labs.mlnx (l-wincomp04-vm.mtl.labs.mlnx\n [10.237.1.5])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 05M7tdC4017100;\n Mon, 22 Jun 2020 10:55:41 +0300" ], "From": "talshn@mellanox.com", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, pallavi.kadam@intel.com, dmitry.kozliuk@gmail.com,\n david.marchand@redhat.com, grive@u256.net, ranjit.menon@intel.com,\n navasile@linux.microsoft.com, harini.ramakrishnan@microsoft.com,\n ocardona@microsoft.com, anatoly.burakov@intel.com, fady@mellanox.com,\n bruce.richardson@intel.com, Tal Shnaiderman <talshn@mellanox.com>", "Date": "Mon, 22 Jun 2020 10:55:24 +0300", "Message-Id": "<20200622075529.24180-5-talshn@mellanox.com>", "X-Mailer": "git-send-email 2.16.1.windows.4", "In-Reply-To": "<20200622075529.24180-1-talshn@mellanox.com>", "References": "<20200621102612.22740-2-talshn@mellanox.com>\n <20200622075529.24180-1-talshn@mellanox.com>", "Subject": "[dpdk-dev] [PATCH v8 4/9] pci: fix format warning on Windows", "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": "From: Tal Shnaiderman <talshn@mellanox.com>\n\nthe struct rte_pci_addr defines domain as uint32_t variable however\nthe PCI_PRI_FMT macro used for logging the struct sets the format\nof domain to uint16_t.\n\nThe mismatch causes the following warning messages\nin Windows clang build:\n\nformat specifies type 'unsigned short' but the argument\nhas type 'uint32_t' (aka 'unsigned int') [-Wformat]\n\nSigned-off-by: Tal Shnaiderman <talshn@mellanox.com>\n---\n lib/librte_pci/rte_pci.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_pci/rte_pci.h b/lib/librte_pci/rte_pci.h\nindex 9337079178..104b2bb858 100644\n--- a/lib/librte_pci/rte_pci.h\n+++ b/lib/librte_pci/rte_pci.h\n@@ -23,7 +23,7 @@ extern \"C\" {\n #include <sys/types.h>\n \n /** Formatting string for PCI device identifier: Ex: 0000:00:01.0 */\n-#define PCI_PRI_FMT \"%.4\" PRIx16 \":%.2\" PRIx8 \":%.2\" PRIx8 \".%\" PRIx8\n+#define PCI_PRI_FMT \"%.4\" PRIx32 \":%.2\" PRIx8 \":%.2\" PRIx8 \".%\" PRIx8\n #define PCI_PRI_STR_SIZE sizeof(\"XXXXXXXX:XX:XX.X\")\n \n /** Short formatting string, without domain, for PCI device: Ex: 00:01.0 */\n", "prefixes": [ "v8", "4/9" ] }{ "id": 71947, "url": "