Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/14390/?format=api
http://patches.dpdk.org/api/patches/14390/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1466948986-12255-1-git-send-email-jianfeng.tan@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": "<1466948986-12255-1-git-send-email-jianfeng.tan@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1466948986-12255-1-git-send-email-jianfeng.tan@intel.com", "date": "2016-06-26T13:49:46", "name": "[dpdk-dev] net/virtio-user: fix O_CLOEXEC undeclared error", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "8fdadc3d60fc07bfd5e635e6f32f02ad214e45fc", "submitter": { "id": 313, "url": "http://patches.dpdk.org/api/people/313/?format=api", "name": "Jianfeng Tan", "email": "jianfeng.tan@intel.com" }, "delegate": { "id": 355, "url": "http://patches.dpdk.org/api/users/355/?format=api", "username": "yliu", "first_name": "Yuanhan", "last_name": "Liu", "email": "yuanhan.liu@linux.intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1466948986-12255-1-git-send-email-jianfeng.tan@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/14390/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/14390/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 6445D5AA7;\n\tSun, 26 Jun 2016 15:50:09 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 1BC9C5AA6\n\tfor <dev@dpdk.org>; Sun, 26 Jun 2016 15:50:07 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga102.fm.intel.com with ESMTP; 26 Jun 2016 06:50:09 -0700", "from dpdk06.sh.intel.com ([10.239.128.225])\n\tby orsmga002.jf.intel.com with ESMTP; 26 Jun 2016 06:50:07 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos; i=\"5.26,531,1459839600\"; d=\"scan'208\";\n\ta=\"1005436049\"", "From": "Jianfeng Tan <jianfeng.tan@intel.com>", "To": "dev@dpdk.org", "Cc": "yuanhan.liu@linux.intel.com, huawei.xie@intel.com,\n\tJianfeng Tan <jianfeng.tan@intel.com>", "Date": "Sun, 26 Jun 2016 13:49:46 +0000", "Message-Id": "<1466948986-12255-1-git-send-email-jianfeng.tan@intel.com>", "X-Mailer": "git-send-email 2.1.4", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH] net/virtio-user: fix O_CLOEXEC undeclared error", "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": "On some older systems, such as SUSE 11, the compiling error shows\nas:\n .../dpdk/drivers/net/virtio/virtio_user/virtio_user_dev.c:67:22:\n error: ‘O_CLOEXEC’ undeclared (first use in this function)\n\nThe fix is to declare _GNU_SOURCE macro before include fcntl.h.\n\nFixes: 37a7eb2ae816 (\"net/virtio-user: add device emulation layer\")\n\nSigned-off-by: Jianfeng Tan <jianfeng.tan@intel.com>\n---\n drivers/net/virtio/virtio_user/virtio_user_dev.c | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/drivers/net/virtio/virtio_user/virtio_user_dev.c b/drivers/net/virtio/virtio_user/virtio_user_dev.c\nindex 3d12a32..180f824 100644\n--- a/drivers/net/virtio/virtio_user/virtio_user_dev.c\n+++ b/drivers/net/virtio/virtio_user/virtio_user_dev.c\n@@ -31,6 +31,7 @@\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n \n+#define _GNU_SOURCE\n #include <stdint.h>\n #include <stdio.h>\n #include <fcntl.h>\n", "prefixes": [ "dpdk-dev" ] }{ "id": 14390, "url": "