Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/57742/?format=api
http://patchwork.dpdk.org/api/patches/57742/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1566214919-32250-2-git-send-email-david.marchand@redhat.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": "<1566214919-32250-2-git-send-email-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1566214919-32250-2-git-send-email-david.marchand@redhat.com", "date": "2019-08-19T11:41:49", "name": "[01/11] log: fix plugin level restore with patterns", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "882ff89db76e7a4196707ee548322b26d8fee451", "submitter": { "id": 1173, "url": "http://patchwork.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1566214919-32250-2-git-send-email-david.marchand@redhat.com/mbox/", "series": [ { "id": 6072, "url": "http://patchwork.dpdk.org/api/series/6072/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=6072", "date": "2019-08-19T11:41:48", "name": "Fixing log levels for dynamically loaded drivers", "version": 1, "mbox": "http://patchwork.dpdk.org/series/6072/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/57742/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/57742/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B62051BEB7;\n\tMon, 19 Aug 2019 13:42:17 +0200 (CEST)", "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 14C581BEB5;\n\tMon, 19 Aug 2019 13:42:16 +0200 (CEST)", "from smtp.corp.redhat.com\n\t(int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 87158300DA7F;\n\tMon, 19 Aug 2019 11:42:15 +0000 (UTC)", "from dmarchan.remote.csb (ovpn-204-32.brq.redhat.com\n\t[10.40.204.32])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 42D32100195F;\n\tMon, 19 Aug 2019 11:42:14 +0000 (UTC)" ], "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "stable@dpdk.org", "Date": "Mon, 19 Aug 2019 13:41:49 +0200", "Message-Id": "<1566214919-32250-2-git-send-email-david.marchand@redhat.com>", "In-Reply-To": "<1566214919-32250-1-git-send-email-david.marchand@redhat.com>", "References": "<1566214919-32250-1-git-send-email-david.marchand@redhat.com>", "X-Scanned-By": "MIMEDefang 2.84 on 10.5.11.22", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.45]); Mon, 19 Aug 2019 11:42:15 +0000 (UTC)", "Subject": "[dpdk-dev] [PATCH 01/11] log: fix plugin level restore with patterns", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Same fix as the commit 6ff0f81d0ef7 (\"log: fix pattern matching\"),\nfnmatch returns 0 on success.\n\nFixes: 7f0bb634a140 (\"log: add ability to match log type with globbing\")\nFixes: 6ff0f81d0ef7 (\"log: fix pattern matching\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/librte_eal/common/eal_common_log.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_eal/common/eal_common_log.c b/lib/librte_eal/common/eal_common_log.c\nindex 4f6f227..d9e5808 100644\n--- a/lib/librte_eal/common/eal_common_log.c\n+++ b/lib/librte_eal/common/eal_common_log.c\n@@ -284,7 +284,7 @@ rte_log_register_type_and_pick_level(const char *name, uint32_t level_def)\n \t\t\tcontinue;\n \n \t\tif (opt_ll->pattern) {\n-\t\t\tif (fnmatch(opt_ll->pattern, name, 0))\n+\t\t\tif (fnmatch(opt_ll->pattern, name, 0) == 0)\n \t\t\t\tlevel = opt_ll->level;\n \t\t} else {\n \t\t\tif (regexec(&opt_ll->re_match, name, 0, NULL, 0) == 0)\n", "prefixes": [ "01/11" ] }{ "id": 57742, "url": "