Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/6757/?format=api
https://patches.dpdk.org/api/patches/6757/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1439541195-26630-1-git-send-email-avi@cloudius-systems.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": "<1439541195-26630-1-git-send-email-avi@cloudius-systems.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1439541195-26630-1-git-send-email-avi@cloudius-systems.com", "date": "2015-08-14T08:33:15", "name": "[dpdk-dev] mbuf: fix incompatibility with C++ in header file", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "24c33c344df0ccbf606b38551e712aa0440d7d62", "submitter": { "id": 185, "url": "https://patches.dpdk.org/api/people/185/?format=api", "name": "Avi Kivity", "email": "avi@cloudius-systems.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1439541195-26630-1-git-send-email-avi@cloudius-systems.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/6757/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/6757/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 5576E8DA5;\n\tFri, 14 Aug 2015 10:33:20 +0200 (CEST)", "from mail-wi0-f171.google.com (mail-wi0-f171.google.com\n\t[209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 6E5888D9F\n\tfor <dev@dpdk.org>; Fri, 14 Aug 2015 10:33:18 +0200 (CEST)", "by wijp15 with SMTP id p15so11861348wij.0\n\tfor <dev@dpdk.org>; Fri, 14 Aug 2015 01:33:18 -0700 (PDT)", "from robocop.localdomain (bzq-109-64-134-34.red.bezeqint.net.\n\t[109.64.134.34]) by smtp.gmail.com with ESMTPSA id\n\tgj6sm1912183wib.22.2015.08.14.01.33.16\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 14 Aug 2015 01:33:17 -0700 (PDT)" ], "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;\n\tbh=AVYNUfpmh/zTCokkzegaErEX/zgxXiFI7gIq/jRowK0=;\n\tb=FcN2c+LW0Axr3rYGVab+oUVciaQdW5LuxeWKe4uNYuNmZ1pz7AIA71/uk5I++KtFTA\n\t0Q0FKOJdO/MLuL7ledTKOYWKNfW5+rpFj5fvd7clBhIKrbv2Ey32ZzJA1Eww9PZMDFBA\n\t+Wc+++yLZEP/hgjWwXsXmUz/+EEtSmYwFsvCHe8luBPP3B0jlBDMkJsZLy0sZSGWZF+6\n\tTVOUE4lSBu+38YTEMBk9rV7k5h+T6lVZCBlllC8yxARXUl5AuochsK0KzFcg9zMuwFng\n\tNNbWmTqvPkCoNQv3FTxhVkYnPLYBfhKm4kNJjHa7hy5fBdjXvb9i4gF3SIZEEdTsSau/\n\taVdw==", "X-Gm-Message-State": "ALoCoQkJo7wxyT56Bi4CnKHhYDtj/zGft/D2RsJx3HznQRfyTAfgL7ZUSfQ2gNLQz+IPst9TbcW6", "X-Received": "by 10.180.12.148 with SMTP id y20mr4112109wib.80.1439541198160; \n\tFri, 14 Aug 2015 01:33:18 -0700 (PDT)", "From": "Avi Kivity <avi@cloudius-systems.com>", "To": "dev@dpdk.org", "Date": "Fri, 14 Aug 2015 11:33:15 +0300", "Message-Id": "<1439541195-26630-1-git-send-email-avi@cloudius-systems.com>", "X-Mailer": "git-send-email 2.4.3", "Subject": "[dpdk-dev] [PATCH] mbuf: fix incompatibility with C++ in header file", "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": "C++ doesn't allow implied casting from void * to another pointer, so\nsupply an explicit cast.\n\nSigned-off-by: Avi Kivity <avi@cloudius-systems.com>\n---\n lib/librte_mbuf/rte_mbuf.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h\nindex c3b8c98..8c2db1b 100644\n--- a/lib/librte_mbuf/rte_mbuf.h\n+++ b/lib/librte_mbuf/rte_mbuf.h\n@@ -882,7 +882,7 @@ static inline uint16_t rte_pktmbuf_priv_size(struct rte_mempool *mp);\n static inline struct rte_mbuf *\n rte_mbuf_from_indirect(struct rte_mbuf *mi)\n {\n-\treturn RTE_PTR_SUB(mi->buf_addr, sizeof(*mi) + mi->priv_size);\n+\treturn (struct rte_mbuf *)RTE_PTR_SUB(mi->buf_addr, sizeof(*mi) + mi->priv_size);\n }\n \n /**\n", "prefixes": [ "dpdk-dev" ] }{ "id": 6757, "url": "