Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/4064/?format=api
https://patches.dpdk.org/api/patches/4064/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1426735018-19411-9-git-send-email-yong.liu@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": "<1426735018-19411-9-git-send-email-yong.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1426735018-19411-9-git-send-email-yong.liu@intel.com", "date": "2015-03-19T03:16:58", "name": "[dpdk-dev,6/6] fix build error for implicit declaration of function pread", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "97e24f6e1a91c7545d1264b2c16f0eabd0ea39b5", "submitter": { "id": 17, "url": "https://patches.dpdk.org/api/people/17/?format=api", "name": "Marvin Liu", "email": "yong.liu@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1426735018-19411-9-git-send-email-yong.liu@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/4064/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/4064/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 227D85A96;\n\tThu, 19 Mar 2015 04:17:47 +0100 (CET)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id D08F15A7B\n\tfor <dev@dpdk.org>; Thu, 19 Mar 2015 04:17:44 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga101.jf.intel.com with ESMTP; 18 Mar 2015 20:17:23 -0700", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga001.fm.intel.com with ESMTP; 18 Mar 2015 20:17:22 -0700", "from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com\n\t[10.239.29.90])\n\tby shvmail01.sh.intel.com with ESMTP id t2J3HKUZ024464;\n\tThu, 19 Mar 2015 11:17:20 +0800", "from shecgisg003.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid t2J3HHfe019503; Thu, 19 Mar 2015 11:17:19 +0800", "(from yliu84x@localhost)\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t2J3HHp4019499; \n\tThu, 19 Mar 2015 11:17:17 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.11,427,1422950400\"; d=\"scan'208\";a=\"682242944\"", "From": "Yong Liu <yong.liu@intel.com>", "To": "dev@dpdk.org", "Date": "Thu, 19 Mar 2015 11:16:58 +0800", "Message-Id": "<1426735018-19411-9-git-send-email-yong.liu@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1426735018-19411-1-git-send-email-yong.liu@intel.com>", "References": "<1426735018-19411-1-git-send-email-yong.liu@intel.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 6/6] fix build error for implicit declaration of\n\tfunction pread", "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": "From: Marvin Liu <yong.liu@intel.com>\n\nFunction pread need marco _XOPEN_SOURCE be defined.\nAdd _GNU_SOURCE will fix this issue.\n\nerror: implicit declaration of function ‘pread’\n\nSigned-off-by: Marvin Liu <yong.liu@intel.com>", "diff": "diff --git a/lib/librte_eal/linuxapp/eal/Makefile b/lib/librte_eal/linuxapp/eal/Makefile\nindex 23c2d48..21875b8 100644\n--- a/lib/librte_eal/linuxapp/eal/Makefile\n+++ b/lib/librte_eal/linuxapp/eal/Makefile\n@@ -102,6 +102,8 @@ CFLAGS_eal_pci_vfio.o := -D_GNU_SOURCE\n CFLAGS_eal_common_whitelist.o := -D_GNU_SOURCE\n CFLAGS_eal_common_options.o := -D_GNU_SOURCE\n CFLAGS_eal_common_thread.o := -D_GNU_SOURCE\n+CFLAGS_eal_pci_uio.o := -D_GNU_SOURCE\n+CFLAGS_eal_interrupts.o := -D_GNU_SOURCE\n \n # workaround for a gcc bug with noreturn attribute\n # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n", "prefixes": [ "dpdk-dev", "6/6" ] }{ "id": 4064, "url": "