Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/3827/?format=api
https://patches.dpdk.org/api/patches/3827/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1425396230-13379-5-git-send-email-thomas.monjalon@6wind.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": "<1425396230-13379-5-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1425396230-13379-5-git-send-email-thomas.monjalon@6wind.com", "date": "2015-03-03T15:23:47", "name": "[dpdk-dev,4/7] virtio: fix build with debug enabled", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "5f64464f0efb3b4e4c808980594869fd44d329f6", "submitter": { "id": 1, "url": "https://patches.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1425396230-13379-5-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/3827/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/3827/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 9B56F7E23;\n\tTue, 3 Mar 2015 16:24:36 +0100 (CET)", "from mail-wi0-f180.google.com (mail-wi0-f180.google.com\n\t[209.85.212.180]) by dpdk.org (Postfix) with ESMTP id 5C7876942\n\tfor <dev@dpdk.org>; Tue, 3 Mar 2015 16:24:35 +0100 (CET)", "by widem10 with SMTP id em10so23560856wid.5\n\tfor <dev@dpdk.org>; Tue, 03 Mar 2015 07:24:35 -0800 (PST)", "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by mx.google.com with ESMTPSA id\n\tgf11sm2889236wic.18.2015.03.03.07.24.33 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 03 Mar 2015 07:24:34 -0800 (PST)" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-type:content-transfer-encoding;\n\tbh=s2TlO9C9aMzm1qM/XziyGKBjz/Mum79e7o/EJGLxTtM=;\n\tb=aTmqsaIafos/g8/5Ja255pqRbuBidEZ54TaWlurE6CxmTrbR/nZpQOJQ1BT1TdAZ2D\n\t6fGLZJSh+A1RXoNSkZK+5m2wea8GcECOPTaCyJDuZ91/RnKVRMOEM468mufqYu3mzvhX\n\tumuuFlH3Fu03RISbBVTVv/terW+ZjQAAKhJFhH9CckOIT7CpWZbTN53m4qC3L3D2xBo7\n\tSqRNmAa+ax84Ic8GKKfEkszoKR3B7PbvzgSMArm4f36gs5y4frGP18qV6HNpnHbku3zS\n\t7KhYYPDrqK3O7l3OZCzDaJQLUQG/vAyYuqsMW6fplFUxCUpAbrDo0xHUwVnPjGKfAu0p\n\tYWLg==", "X-Gm-Message-State": "ALoCoQkUtlPBTLp1U+8Tm6beiEWqMtKgZT0NcFVuHsr9QwErPAR8DdG5MCrrWQGrB1nkXX6sbT6/", "X-Received": "by 10.180.101.168 with SMTP id fh8mr3928319wib.74.1425396275237; \n\tTue, 03 Mar 2015 07:24:35 -0800 (PST)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "dev@dpdk.org", "Date": "Tue, 3 Mar 2015 16:23:47 +0100", "Message-Id": "<1425396230-13379-5-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.2.2", "In-Reply-To": "<1425396230-13379-1-git-send-email-thomas.monjalon@6wind.com>", "References": "<1425396230-13379-1-git-send-email-thomas.monjalon@6wind.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 4/7] virtio: fix build with debug enabled", "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": "With CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_INIT=y:\n\terror: ‘devname’ undeclared (first use in this function)\n\nFixes: da978dfdc43b (\"virtio: use port IO to get PCI resource\")\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_pmd_virtio/virtio_ethdev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_pmd_virtio/virtio_ethdev.c b/lib/librte_pmd_virtio/virtio_ethdev.c\nindex 4bad1e4..d239083 100644\n--- a/lib/librte_pmd_virtio/virtio_ethdev.c\n+++ b/lib/librte_pmd_virtio/virtio_ethdev.c\n@@ -971,7 +971,7 @@ static int virtio_resource_init_by_uio(struct rte_pci_device *pci_dev)\n \tpci_dev->intr_handle.fd = open(dirname, O_RDWR);\n \tif (pci_dev->intr_handle.fd < 0) {\n \t\tPMD_INIT_LOG(ERR, \"Cannot open %s: %s\\n\",\n-\t\t\tdevname, strerror(errno));\n+\t\t\tdirname, strerror(errno));\n \t\treturn -1;\n \t}\n \n", "prefixes": [ "dpdk-dev", "4/7" ] }{ "id": 3827, "url": "