Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/71842/?format=api
http://patches.dpdk.org/api/patches/71842/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200621102612.22740-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": "<20200621102612.22740-5-talshn@mellanox.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200621102612.22740-5-talshn@mellanox.com", "date": "2020-06-21T10:26:07", "name": "[v7,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/20200621102612.22740-5-talshn@mellanox.com/mbox/", "series": [ { "id": 10531, "url": "http://patches.dpdk.org/api/series/10531/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10531", "date": "2020-06-21T10:26:09", "name": "Windows bus/pci support", "version": 7, "mbox": "http://patches.dpdk.org/series/10531/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/71842/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/71842/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 D1240A0350;\n\tSun, 21 Jun 2020 12:27:28 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A05AA1C0C2;\n\tSun, 21 Jun 2020 12:26:35 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 5DC5D1C02D\n for <dev@dpdk.org>; Sun, 21 Jun 2020 12:26:25 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n talshn@mellanox.com) with SMTP; 21 Jun 2020 13:26:20 +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 05LAQJGx007270;\n Sun, 21 Jun 2020 13:26:20 +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": "Sun, 21 Jun 2020 13:26:07 +0300", "Message-Id": "<20200621102612.22740-5-talshn@mellanox.com>", "X-Mailer": "git-send-email 2.16.1.windows.4", "In-Reply-To": "<20200621102612.22740-1-talshn@mellanox.com>", "References": "<20200618211546.24496-2-talshn@mellanox.com>\n <20200621102612.22740-1-talshn@mellanox.com>", "Subject": "[dpdk-dev] [PATCH v7 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": [ "v7", "4/9" ] }{ "id": 71842, "url": "