Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1150/?format=api
http://patches.dpdk.org/api/patches/1150/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1415230302-16310-2-git-send-email-huawei.xie@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": "<1415230302-16310-2-git-send-email-huawei.xie@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1415230302-16310-2-git-send-email-huawei.xie@intel.com", "date": "2014-11-05T23:31:42", "name": "[dpdk-dev,2/2] lib/librte_vhost: printk->pr_debug", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "c87e066b73acf61b39f99808ee12582b92d6e74b", "submitter": { "id": 16, "url": "http://patches.dpdk.org/api/people/16/?format=api", "name": "Huawei Xie", "email": "huawei.xie@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1415230302-16310-2-git-send-email-huawei.xie@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/1150/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/1150/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 4A48C7F98;\n\tThu, 6 Nov 2014 00:22:53 +0100 (CET)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 6172B7F80\n\tfor <dev@dpdk.org>; Thu, 6 Nov 2014 00:22:49 +0100 (CET)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga101.jf.intel.com with ESMTP; 05 Nov 2014 15:31:55 -0800", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga001.jf.intel.com with ESMTP; 05 Nov 2014 15:31:55 -0800", "from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com\n\t[10.239.29.90])\n\tby shvmail01.sh.intel.com with ESMTP id sA5NVrXt023502;\n\tThu, 6 Nov 2014 07:31:53 +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 sA5NVoZx016353; Thu, 6 Nov 2014 07:31:52 +0800", "(from hxie5@localhost)\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id sA5NVoJu016349; \n\tThu, 6 Nov 2014 07:31:50 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.07,322,1413270000\"; d=\"scan'208\";a=\"603095704\"", "From": "Huawei Xie <huawei.xie@intel.com>", "To": "dev@dpdk.org", "Date": "Thu, 6 Nov 2014 07:31:42 +0800", "Message-Id": "<1415230302-16310-2-git-send-email-huawei.xie@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1415230302-16310-1-git-send-email-huawei.xie@intel.com>", "References": "<1415230302-16310-1-git-send-email-huawei.xie@intel.com>", "Subject": "[dpdk-dev] [PATCH 2/2] lib/librte_vhost: printk->pr_debug", "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": "printk -> pr_debug\n\nSigned-off-by: Huawei Xie <huawei.xie@intel.com>\n---\n lib/librte_vhost/eventfd_link/eventfd_link.c | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)", "diff": "diff --git a/lib/librte_vhost/eventfd_link/eventfd_link.c b/lib/librte_vhost/eventfd_link/eventfd_link.c\nindex 542ec2c..7755dd6 100644\n--- a/lib/librte_vhost/eventfd_link/eventfd_link.c\n+++ b/lib/librte_vhost/eventfd_link/eventfd_link.c\n@@ -88,13 +88,13 @@ eventfd_link_ioctl(struct file *f, unsigned int ioctl, unsigned long arg)\n \t\ttask_target =\n \t\t\tpid_task(find_vpid(eventfd_copy.target_pid), PIDTYPE_PID);\n \t\tif (task_target == NULL) {\n-\t\t\tprintk(KERN_DEBUG \"Failed to get mem ctx for target pid\\n\");\n+\t\t\tpr_debug(\"Failed to get mem ctx for target pid\\n\");\n \t\t\treturn -EFAULT;\n \t\t}\n \n \t\tfiles = get_files_struct(current);\n \t\tif (files == NULL) {\n-\t\t\tprintk(KERN_DEBUG \"Failed to get files struct\\n\");\n+\t\t\tpr_debug(\"Failed to get files struct\\n\");\n \t\t\treturn -EFAULT;\n \t\t}\n \n@@ -109,7 +109,7 @@ eventfd_link_ioctl(struct file *f, unsigned int ioctl, unsigned long arg)\n \t\tput_files_struct(files);\n \n \t\tif (file == NULL) {\n-\t\t\tprintk(KERN_DEBUG \"Failed to get file from source pid\\n\");\n+\t\t\tpr_debug(\"Failed to get file from source pid\\n\");\n \t\t\treturn 0;\n \t\t}\n \n@@ -128,7 +128,7 @@ eventfd_link_ioctl(struct file *f, unsigned int ioctl, unsigned long arg)\n \n \t\tfiles = get_files_struct(task_target);\n \t\tif (files == NULL) {\n-\t\t\tprintk(KERN_DEBUG \"Failed to get files struct\\n\");\n+\t\t\tpr_debug(\"Failed to get files struct\\n\");\n \t\t\treturn -EFAULT;\n \t\t}\n \n@@ -143,7 +143,7 @@ eventfd_link_ioctl(struct file *f, unsigned int ioctl, unsigned long arg)\n \t\tput_files_struct(files);\n \n \t\tif (file == NULL) {\n-\t\t\tprintk(KERN_DEBUG \"Failed to get file from target pid\\n\");\n+\t\t\tpr_debug(\"Failed to get file from target pid\\n\");\n \t\t\treturn 0;\n \t\t}\n \n", "prefixes": [ "dpdk-dev", "2/2" ] }{ "id": 1150, "url": "