Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/106856/?format=api
http://patches.dpdk.org/api/patches/106856/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220204174209.440207-4-bruce.richardson@intel.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": "<20220204174209.440207-4-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220204174209.440207-4-bruce.richardson@intel.com", "date": "2022-02-04T17:42:05", "name": "[3/7] graph: add explicit cast to allow C++ build", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "3165fe8273a6e73cd2fca83c7b9d2c3d597f2fb4", "submitter": { "id": 20, "url": "http://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.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/20220204174209.440207-4-bruce.richardson@intel.com/mbox/", "series": [ { "id": 21466, "url": "http://patches.dpdk.org/api/series/21466/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21466", "date": "2022-02-04T17:42:02", "name": "Verify C++ compatibility of public headers", "version": 1, "mbox": "http://patches.dpdk.org/series/21466/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/106856/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/106856/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 59038A0350;\n\tFri, 4 Feb 2022 18:42:41 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4638A40E03;\n\tFri, 4 Feb 2022 18:42:41 +0100 (CET)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 713C740E03\n for <dev@dpdk.org>; Fri, 4 Feb 2022 18:42:39 +0100 (CET)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Feb 2022 09:42:38 -0800", "from silpixa00399126.ir.intel.com ([10.237.223.162])\n by FMSMGA003.fm.intel.com with ESMTP; 04 Feb 2022 09:42:37 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1643996559; x=1675532559;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=2hgcpc4graWtkEicx9y1HVphqZvw6xv3bbVZIf8uINg=;\n b=H8hUAizlIoRJHuopzMBhmAzj7ToZSpc1tJ9C+lRIpXa+Mp7FIjEmTH7O\n +5JOAaTYPX9bIc55pgFgDZaoT+sYrEqtUvIC04RxtJdKWzdrRcfY0xSDT\n Js7WUeFHsISYS1L5KTo2nd7Auloj2RwQ3EjYUsU1pvIMIU/vCu9tQ/rD/\n 8vwQPQVzxqVhw/MCyqcJ+5R1/iC10ZfjhScaB9QRkrOd1gWyITLKzVvvL\n os7cC0uv5pdBQkxImmb5WLqypVEgXqIrA9pl3CtxJz3Vuzk7Wg1hz2Itq\n WSjcSvrO+7EglP/do6N+d7rfLUV6tWLqjQ+DFq/gJHCDRJPDQB+/tuAQN Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10248\"; a=\"229060574\"", "E=Sophos;i=\"5.88,343,1635231600\"; d=\"scan'208\";a=\"229060574\"", "E=Sophos;i=\"5.88,343,1635231600\"; d=\"scan'208\";a=\"620890366\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n Jerin Jacob <jerinj@marvell.com>, Kiran Kumar K <kirankumark@marvell.com>,\n Nithin Dabilpuram <ndabilpuram@marvell.com>", "Subject": "[PATCH 3/7] graph: add explicit cast to allow C++ build", "Date": "Fri, 4 Feb 2022 17:42:05 +0000", "Message-Id": "<20220204174209.440207-4-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.32.0", "In-Reply-To": "<20220204174209.440207-1-bruce.richardson@intel.com>", "References": "<20220204174209.440207-1-bruce.richardson@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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" }, "content": "C++ does not have automatic casting to/from void pointers, so need\nexplicit cast if header is to be included in C++ code\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/graph/rte_graph_worker.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/graph/rte_graph_worker.h b/lib/graph/rte_graph_worker.h\nindex eef77f732a..0c0b9c095a 100644\n--- a/lib/graph/rte_graph_worker.h\n+++ b/lib/graph/rte_graph_worker.h\n@@ -155,7 +155,7 @@ rte_graph_walk(struct rte_graph *graph)\n \t *\t+-----+ <= cir_start + mask\n \t */\n \twhile (likely(head != graph->tail)) {\n-\t\tnode = RTE_PTR_ADD(graph, cir_start[(int32_t)head++]);\n+\t\tnode = (struct rte_node *)RTE_PTR_ADD(graph, cir_start[(int32_t)head++]);\n \t\tRTE_ASSERT(node->fence == RTE_GRAPH_FENCE);\n \t\tobjs = node->objs;\n \t\trte_prefetch0(objs);\n", "prefixes": [ "3/7" ] }{ "id": 106856, "url": "