Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/610/?format=api
http://patchwork.dpdk.org/api/patches/610/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/41114A6E-08AB-4269-9E4F-9930BD04D8E2@windriver.com/", "project": { "id": 1, "url": "http://patchwork.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": "<41114A6E-08AB-4269-9E4F-9930BD04D8E2@windriver.com>", "list_archive_url": "https://inbox.dpdk.org/dev/41114A6E-08AB-4269-9E4F-9930BD04D8E2@windriver.com", "date": "2014-09-27T05:53:39", "name": "[dpdk-dev] Clang compile error with RTE_LIBRTE_MEMPOOL_DEBUG enabled.", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": true, "hash": "b21fc3a82de52ea237fb5f5cfb6be01ac67ebf16", "submitter": { "id": 75, "url": "http://patchwork.dpdk.org/api/people/75/?format=api", "name": "Wiles, Roger Keith", "email": "keith.wiles@windriver.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/41114A6E-08AB-4269-9E4F-9930BD04D8E2@windriver.com/mbox/", "series": [], "comments": "http://patchwork.dpdk.org/api/patches/610/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/610/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 4D2BB7DEF;\n\tSat, 27 Sep 2014 07:47:21 +0200 (CEST)", "from mail1.windriver.com (mail1.windriver.com [147.11.146.13])\n\tby dpdk.org (Postfix) with ESMTP id B11D9683E\n\tfor <dev@dpdk.org>; Sat, 27 Sep 2014 07:47:19 +0200 (CEST)", "from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com\n\t[147.11.189.40])\n\tby mail1.windriver.com (8.14.9/8.14.5) with ESMTP id s8R5re1M011528\n\t(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL)\n\tfor <dev@dpdk.org>; Fri, 26 Sep 2014 22:53:40 -0700 (PDT)", "from ALA-MBB.corp.ad.wrs.com ([169.254.1.18]) by\n\tALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0174.001;\n\tFri, 26 Sep 2014 22:53:40 -0700" ], "From": "\"Wiles, Roger Keith\" <keith.wiles@windriver.com>", "To": "\"<dev@dpdk.org>\" <dev@dpdk.org>", "Thread-Topic": "[PATCH] Clang compile error with RTE_LIBRTE_MEMPOOL_DEBUG\n\tenabled.", "Thread-Index": "AQHP2hdijh9++Xvn4kK+Vzfach+y0g==", "Date": "Sat, 27 Sep 2014 05:53:39 +0000", "Message-ID": "<41114A6E-08AB-4269-9E4F-9930BD04D8E2@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": "<8DBB53FBE71E2443BE9DE83FA194F188@local>", "Content-Transfer-Encoding": "quoted-printable", "MIME-Version": "1.0", "Subject": "[dpdk-dev] [PATCH] 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>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "When enabling RTE_LIBRTE_MEMPOOL_DEBUG and compiling with clang\ncompiler an error occurs, because ifdefed code now includes GCC pragmas.\n\nSigned-off-by: Keith Wiles <keith.wiles@windriver.com>\n---\n lib/librte_mempool/rte_mempool.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)\n\nā\n2.1.0", "diff": "diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h\nindex 95f19f9..299d4d7 100644\n--- a/lib/librte_mempool/rte_mempool.h\n+++ b/lib/librte_mempool/rte_mempool.h\n@@ -312,7 +312,7 @@ static inline void __mempool_write_trailer_cookie(void *obj)\n * - 2: just check that cookie is valid (free or allocated)\n */\n #ifdef RTE_LIBRTE_MEMPOOL_DEBUG\n-#ifndef __INTEL_COMPILER\n+#ifdef __GCC__\n #pragma GCC push_options\n #pragma GCC diagnostic ignored \"-Wcast-qual\"\n #endif\n@@ -379,7 +379,7 @@ static inline void __mempool_check_cookies(const struct rte_mempool *mp,\n \t\t}\n \t}\n }\n-#ifndef __INTEL_COMPILER\n+#ifdef __GCC__\n #pragma GCC pop_options\n #endif\n #else\n", "prefixes": [ "dpdk-dev" ] }{ "id": 610, "url": "