Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/3824/?format=api
https://patches.dpdk.org/api/patches/3824/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1425396230-13379-2-git-send-email-thomas.monjalon@6wind.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": "<1425396230-13379-2-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1425396230-13379-2-git-send-email-thomas.monjalon@6wind.com", "date": "2015-03-03T15:23:44", "name": "[dpdk-dev,1/7] mempool: fix build with debug enabled", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "14ab778dedf667465fcbf50eb319a98192b7f464", "submitter": { "id": 1, "url": "https://patches.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1425396230-13379-2-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/3824/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/3824/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 6EAF65A92;\n\tTue, 3 Mar 2015 16:24:31 +0100 (CET)", "from mail-wg0-f49.google.com (mail-wg0-f49.google.com\n\t[74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 720B35A74\n\tfor <dev@dpdk.org>; Tue, 3 Mar 2015 16:24:29 +0100 (CET)", "by wghn12 with SMTP id n12so40798257wgh.1\n\tfor <dev@dpdk.org>; Tue, 03 Mar 2015 07:24:29 -0800 (PST)", "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by mx.google.com with ESMTPSA id\n\tgf11sm2889236wic.18.2015.03.03.07.24.28 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 03 Mar 2015 07:24:28 -0800 (PST)" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-type:content-transfer-encoding;\n\tbh=4L7SrMb+YCVaA42nNQd/Xa3L0zDZiZflB5J1MsPc3kI=;\n\tb=MRcLaw/m9lq3d9xrl8o0qtcjgeAY43JCxHgE2L5ly4eKAkdAQy9YCuwR/3GbjY9DO7\n\t5f5iakb97G+6aobOZYRE8VV6NbQ4YOtai/BghidvrQXWPLgR1NP6SOkFLAgSP3VxTarI\n\tXIdJbh2yxGRSg8DukFOnrbLUznr9SWVMmUrvu8WZylBwzcyYw20YZEBERInLfxavSOvS\n\the0/xENi3ih7Fa92TPdm4TL+wMcfitosY9otpHCnC/2/kI2Fd4mz6Wypnjg+Uggo0QZ/\n\tVsWMRUAf7ggQ41/kDwCV6H6R7s2xk6qV4yMjinS8tlVqk+a/qZ/e+Oi9WJ16ZbeSoR7v\n\twKfQ==", "X-Gm-Message-State": "ALoCoQkux5hAxuRTFOxM7U73G7psCF+kkjXmbZAIFlHTljv020lwcqDJvZDikhRbimkKbI9UKGfE", "X-Received": "by 10.194.158.39 with SMTP id wr7mr71736772wjb.118.1425396269300;\n\tTue, 03 Mar 2015 07:24:29 -0800 (PST)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "dev@dpdk.org", "Date": "Tue, 3 Mar 2015 16:23:44 +0100", "Message-Id": "<1425396230-13379-2-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.2.2", "In-Reply-To": "<1425396230-13379-1-git-send-email-thomas.monjalon@6wind.com>", "References": "<1425396230-13379-1-git-send-email-thomas.monjalon@6wind.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 1/7] mempool: fix build with 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": "error: format ‘%p’ expects argument of type ‘void *’,\nbut argument 5 has type ‘const struct rte_mempool *’ [-Werror=format=]\n\nmp type is (const struct rte_mempool *) and must be casted into a simpler\ntype to be printed.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_mempool/rte_mempool.h | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h\nindex 974e8d7..39f7233 100644\n--- a/lib/librte_mempool/rte_mempool.h\n+++ b/lib/librte_mempool/rte_mempool.h\n@@ -345,7 +345,7 @@ static inline void __mempool_check_cookies(const struct rte_mempool *mp,\n \t\t\t\trte_log_set_history(0);\n \t\t\t\tRTE_LOG(CRIT, MEMPOOL,\n \t\t\t\t\t\"obj=%p, mempool=%p, cookie=%\" PRIx64 \"\\n\",\n-\t\t\t\t\tobj, mp, cookie);\n+\t\t\t\t\tobj, (const void *) mp, cookie);\n \t\t\t\trte_panic(\"MEMPOOL: bad header cookie (put)\\n\");\n \t\t\t}\n \t\t\t__mempool_write_header_cookie(obj, 1);\n@@ -355,7 +355,7 @@ static inline void __mempool_check_cookies(const struct rte_mempool *mp,\n \t\t\t\trte_log_set_history(0);\n \t\t\t\tRTE_LOG(CRIT, MEMPOOL,\n \t\t\t\t\t\"obj=%p, mempool=%p, cookie=%\" PRIx64 \"\\n\",\n-\t\t\t\t\tobj, mp, cookie);\n+\t\t\t\t\tobj, (const void *) mp, cookie);\n \t\t\t\trte_panic(\"MEMPOOL: bad header cookie (get)\\n\");\n \t\t\t}\n \t\t\t__mempool_write_header_cookie(obj, 0);\n@@ -366,7 +366,7 @@ static inline void __mempool_check_cookies(const struct rte_mempool *mp,\n \t\t\t\trte_log_set_history(0);\n \t\t\t\tRTE_LOG(CRIT, MEMPOOL,\n \t\t\t\t\t\"obj=%p, mempool=%p, cookie=%\" PRIx64 \"\\n\",\n-\t\t\t\t\tobj, mp, cookie);\n+\t\t\t\t\tobj, (const void *) mp, cookie);\n \t\t\t\trte_panic(\"MEMPOOL: bad header cookie (audit)\\n\");\n \t\t\t}\n \t\t}\n@@ -375,7 +375,7 @@ static inline void __mempool_check_cookies(const struct rte_mempool *mp,\n \t\t\trte_log_set_history(0);\n \t\t\tRTE_LOG(CRIT, MEMPOOL,\n \t\t\t\t\"obj=%p, mempool=%p, cookie=%\" PRIx64 \"\\n\",\n-\t\t\t\tobj, mp, cookie);\n+\t\t\t\tobj, (const void *) mp, cookie);\n \t\t\trte_panic(\"MEMPOOL: bad trailer cookie\\n\");\n \t\t}\n \t}\n", "prefixes": [ "dpdk-dev", "1/7" ] }{ "id": 3824, "url": "