Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/103163/?format=api
http://patchwork.dpdk.org/api/patches/103163/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/e6c78025127457557cbe19a0cd2a1f1ea325f047.1635428963.git.anatoly.burakov@intel.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": "<e6c78025127457557cbe19a0cd2a1f1ea325f047.1635428963.git.anatoly.burakov@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/e6c78025127457557cbe19a0cd2a1f1ea325f047.1635428963.git.anatoly.burakov@intel.com", "date": "2021-10-28T13:49:28", "name": "[v2,2/4] vfio: fix wrong return value for FreeBSD", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "8f2930c7f995b0c3a11bc9ff77b3d046db24a2f0", "submitter": { "id": 4, "url": "http://patchwork.dpdk.org/api/people/4/?format=api", "name": "Burakov, Anatoly", "email": "anatoly.burakov@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/e6c78025127457557cbe19a0cd2a1f1ea325f047.1635428963.git.anatoly.burakov@intel.com/mbox/", "series": [ { "id": 20100, "url": "http://patchwork.dpdk.org/api/series/20100/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=20100", "date": "2021-10-28T13:49:27", "name": "[v2,1/4] vfio: drop fallback Linux implementation", "version": 2, "mbox": "http://patchwork.dpdk.org/series/20100/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/103163/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/103163/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 C3EE0A0547;\n\tThu, 28 Oct 2021 15:49:39 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A87984120A;\n\tThu, 28 Oct 2021 15:49:36 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 56F4A4111A;\n Thu, 28 Oct 2021 15:49:33 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Oct 2021 06:49:32 -0700", "from silpixa00401191.ir.intel.com ([10.55.128.95])\n by orsmga007.jf.intel.com with ESMTP; 28 Oct 2021 06:49:32 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10150\"; a=\"230261425\"", "E=Sophos;i=\"5.87,190,1631602800\"; d=\"scan'208\";a=\"230261425\"", "E=Sophos;i=\"5.87,190,1631602800\"; d=\"scan'208\";a=\"487136672\"" ], "X-ExtLoop1": "1", "From": "Anatoly Burakov <anatoly.burakov@intel.com>", "To": "dev@dpdk.org,\n\tBruce Richardson <bruce.richardson@intel.com>", "Cc": "stable@dpdk.org", "Date": "Thu, 28 Oct 2021 13:49:28 +0000", "Message-Id": "\n <e6c78025127457557cbe19a0cd2a1f1ea325f047.1635428963.git.anatoly.burakov@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "\n <b2382197250fe4a359a7eb2e7e4c1d12cd959500.1635428963.git.anatoly.burakov@intel.com>", "References": "\n <25dd76eca01ec57d64be9c0a78ac2752f602984f.1631788595.git.anatoly.burakov@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 2/4] vfio: fix wrong return value for FreeBSD", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "On FreeBSD, `rte_vfio_clear_group()` was returning 0 even though this\nfunction is not valid for FreeBSD, and is called out to return error in\ndoxygen comments. Fix the return value to match documentation.\n\nCc: stable@dpdk.org\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n lib/eal/freebsd/eal.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/eal/freebsd/eal.c b/lib/eal/freebsd/eal.c\nindex 9935356ed4..dada210b19 100644\n--- a/lib/eal/freebsd/eal.c\n+++ b/lib/eal/freebsd/eal.c\n@@ -1032,7 +1032,7 @@ int rte_vfio_noiommu_is_enabled(void)\n \n int rte_vfio_clear_group(__rte_unused int vfio_group_fd)\n {\n-\treturn 0;\n+\treturn -1;\n }\n \n int\n", "prefixes": [ "v2", "2/4" ] }{ "id": 103163, "url": "