Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/65116/?format=api
https://patches.dpdk.org/api/patches/65116/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200124153755.13939-2-bruce.richardson@intel.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": "<20200124153755.13939-2-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200124153755.13939-2-bruce.richardson@intel.com", "date": "2020-01-24T15:37:54", "name": "[1/2] net/octeontx2: check compiler flag before use", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "784ab402641d75c13790936833238388f265099a", "submitter": { "id": 20, "url": "https://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200124153755.13939-2-bruce.richardson@intel.com/mbox/", "series": [ { "id": 8286, "url": "https://patches.dpdk.org/api/series/8286/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=8286", "date": "2020-01-24T15:37:53", "name": "remove compiler warnings with icc using meson", "version": 1, "mbox": "https://patches.dpdk.org/series/8286/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/65116/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/65116/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 60884A0533;\n\tFri, 24 Jan 2020 16:40:52 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6018F397D;\n\tFri, 24 Jan 2020 16:40:48 +0100 (CET)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id BEAE23977\n for <dev@dpdk.org>; Fri, 24 Jan 2020 16:40:46 +0100 (CET)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 24 Jan 2020 07:40:46 -0800", "from silpixa00383876.ir.intel.com (HELO\n silpixa00383876.ger.corp.intel.com) ([10.237.222.110])\n by orsmga005.jf.intel.com with ESMTP; 24 Jan 2020 07:40:45 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.70,358,1574150400\"; d=\"scan'208\";a=\"400689116\"", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n\tjerinj@marvell.com", "Date": "Fri, 24 Jan 2020 15:37:54 +0000", "Message-Id": "<20200124153755.13939-2-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.24.1", "In-Reply-To": "<20200124153755.13939-1-bruce.richardson@intel.com>", "References": "<20200124153755.13939-1-bruce.richardson@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 1/2] net/octeontx2: check compiler flag before use", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Rather than assuming all compilers support the -flax-vector-extensions\nflag, we should test this before using it, thereby potentially avoiding\nwarnings.\n\nCc: jerinj@marvell.com\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n drivers/net/octeontx2/meson.build | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)", "diff": "diff --git a/drivers/net/octeontx2/meson.build b/drivers/net/octeontx2/meson.build\nindex fad3076a3..bde19678f 100644\n--- a/drivers/net/octeontx2/meson.build\n+++ b/drivers/net/octeontx2/meson.build\n@@ -26,9 +26,7 @@ sources = files('otx2_rx.c',\n \n deps += ['bus_pci', 'common_octeontx2', 'mempool_octeontx2']\n \n-cflags += ['-flax-vector-conversions']\n-\n-extra_flags = []\n+extra_flags = ['-flax-vector-conversions']\n # This integrated controller runs only on a arm64 machine, remove 32bit warnings\n if not dpdk_conf.get('RTE_ARCH_64')\n \textra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']\n", "prefixes": [ "1/2" ] }{ "id": 65116, "url": "