Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/704/?format=api
https://patches.dpdk.org/api/patches/704/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/27B9DA66-962B-48AC-BD5D-C27C33F9E454@windriver.com/", "project": { "id": 1, "url": "https://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": "<27B9DA66-962B-48AC-BD5D-C27C33F9E454@windriver.com>", "list_archive_url": "https://inbox.dpdk.org/dev/27B9DA66-962B-48AC-BD5D-C27C33F9E454@windriver.com", "date": "2014-10-02T22:22:15", "name": "[dpdk-dev,v3] Clang compile error with RTE_LIBRTE_MEMPOOL_DEBUG enabled.", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "efebf6612ce79e1c5a0e6064257060cf2ec0ae4c", "submitter": { "id": 75, "url": "https://patches.dpdk.org/api/people/75/?format=api", "name": "Wiles, Roger Keith", "email": "keith.wiles@windriver.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/27B9DA66-962B-48AC-BD5D-C27C33F9E454@windriver.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/704/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/704/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<keith.wiles@windriver.com>", "Received": [ "from mail.windriver.com (mail.windriver.com [147.11.1.11])\n\tby dpdk.org (Postfix) with ESMTP id 03DA35928\n\tfor <dev@dpdk.org>; Fri, 3 Oct 2014 00:15:25 +0200 (CEST)", "from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com\n\t[147.11.189.41])\n\tby mail.windriver.com (8.14.9/8.14.5) with ESMTP id s92MMGbT023541\n\t(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL)\n\tfor <dev@dpdk.org>; Thu, 2 Oct 2014 15:22:16 -0700 (PDT)", "from ALA-MBB.corp.ad.wrs.com ([169.254.1.18]) by\n\tALA-HCB.corp.ad.wrs.com ([147.11.189.41]) with mapi id 14.03.0174.001;\n\tThu, 2 Oct 2014 15:22:15 -0700" ], "From": "\"Wiles, Roger Keith\" <keith.wiles@windriver.com>", "To": "\"<dev@dpdk.org>\" <dev@dpdk.org>", "Thread-Topic": "[PATCH v3] Clang compile error with RTE_LIBRTE_MEMPOOL_DEBUG\n\tenabled.", "Thread-Index": "AQHP3Zq20jfQrAMQgkCtmVO8gqTgopwd2MaA", "Date": "Thu, 2 Oct 2014 22:22:15 +0000", "Message-ID": "<27B9DA66-962B-48AC-BD5D-C27C33F9E454@windriver.com>", "References": "<41114A6E-08AB-4269-9E4F-9930BD04D8E2@windriver.com>\n\t<3EC8A7DC-C947-40DC-B8FD-60023A12B00A@windriver.com>\n\t<1602501.e1dujvioa1@xps13>\n\t<0D8AEEBE-82D7-4DD4-9FF3-E86DF6C144B8@windriver.com>\n\t<15C5CF10-E6AC-43A4-A24F-F96E878EE70A@windriver.com>", "In-Reply-To": "<15C5CF10-E6AC-43A4-A24F-F96E878EE70A@windriver.com>", "Accept-Language": "en-US", "Content-Language": "en-US", "X-MS-Has-Attach": "", "X-MS-TNEF-Correlator": "", "x-originating-ip": "[172.25.40.166]", "Content-Type": "text/plain; charset=\"Windows-1252\"", "Content-ID": "<216A8AFB5A60184A9D66CD4C99EA1722@local>", "Content-Transfer-Encoding": "quoted-printable", "MIME-Version": "1.0", "Subject": "[dpdk-dev] [PATCH v3] Clang compile error with\n\tRTE_LIBRTE_MEMPOOL_DEBUG enabled.", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "X-List-Received-Date": "Thu, 02 Oct 2014 22:15:26 -0000" }, "content": "Resend as it is missing in patchwork.\n\nWhen enabling RTE_LIBRTE_MEMPOOL_DEBUG and compiling with clang\ncompiler an error occurs, because ifdefed code now includes GCC pragmas.\n\nGCC 4.4 is when push_options and pop_options pragma show up.\n\nRework to include Thomas’s suggestion to drop push/pop pragma directives for\nignore/error directives.\n\nSigned-off-by: Keith Wiles <keith.wiles@windriver.com>\n---\nlib/librte_mempool/rte_mempool.h | 3 +--\n1 file changed, 1 insertion(+), 2 deletions(-)", "diff": "diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h\nindex 95f19f9..163de86 100644\n--- a/lib/librte_mempool/rte_mempool.h\n+++ b/lib/librte_mempool/rte_mempool.h\n@@ -313,7 +313,6 @@ static inline void __mempool_write_trailer_cookie(void *obj)\n */\n#ifdef RTE_LIBRTE_MEMPOOL_DEBUG\n#ifndef __INTEL_COMPILER\n-#pragma GCC push_options\n#pragma GCC diagnostic ignored \"-Wcast-qual\"\n#endif\nstatic inline void __mempool_check_cookies(const struct rte_mempool *mp,\n@@ -380,7 +379,7 @@ static inline void __mempool_check_cookies(const struct rte_mempool *mp,\n }\n}\n#ifndef __INTEL_COMPILER\n-#pragma GCC pop_options\n+#pragma GCC diagnostic error \"-Wcast-qual\"\n#endif\n#else\n#define __mempool_check_cookies(mp, obj_table_const, n, free) do {} while(0)\n", "prefixes": [ "dpdk-dev", "v3" ] }{ "id": 704, "url": "