Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/90554/?format=api
http://patches.dpdk.org/api/patches/90554/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210405100301.657768-2-thomas@monjalon.net/", "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": "<20210405100301.657768-2-thomas@monjalon.net>", "list_archive_url": "https://inbox.dpdk.org/dev/20210405100301.657768-2-thomas@monjalon.net", "date": "2021-04-05T10:02:59", "name": "[v2,1/3] log: choose EAL log type on registration failure", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "6e242791e0e6911c02014e95b991c490e9e96781", "submitter": { "id": 685, "url": "http://patches.dpdk.org/api/people/685/?format=api", "name": "Thomas Monjalon", "email": "thomas@monjalon.net" }, "delegate": { "id": 24651, "url": "http://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210405100301.657768-2-thomas@monjalon.net/mbox/", "series": [ { "id": 16101, "url": "http://patches.dpdk.org/api/series/16101/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16101", "date": "2021-04-05T10:02:58", "name": "drivers: align log names", "version": 2, "mbox": "http://patches.dpdk.org/series/16101/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/90554/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/90554/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 56F0CA0A0A;\n\tMon, 5 Apr 2021 12:03:13 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 475AA140E41;\n\tMon, 5 Apr 2021 12:03:10 +0200 (CEST)", "from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 56263140E29\n for <dev@dpdk.org>; Mon, 5 Apr 2021 12:03:08 +0200 (CEST)", "from compute3.internal (compute3.nyi.internal [10.202.2.43])\n by mailout.nyi.internal (Postfix) with ESMTP id D66A55C003D;\n Mon, 5 Apr 2021 06:03:07 -0400 (EDT)", "from mailfrontend2 ([10.202.2.163])\n by compute3.internal (MEProxy); Mon, 05 Apr 2021 06:03:07 -0400", "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id 457E6108005F\n for <dev@dpdk.org>; Mon, 5 Apr 2021 06:03:07 -0400 (EDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm3; bh=bZfcGAjqoVUKa\n f4MSRSxyPXnE5egTetUolMBzyzAROc=; b=1uz3NQJw9uL9f3K87C7LuymO2Wygd\n PsUFwJ6Sfztrbb9cWkdw4EwANio9FnN7xLqyQACIQjv3phj/nThF1pmqbqT0ygG3\n S2WQ2PU61ZjCz1FL14ONSO7DBFDTPaOoCi3cMRXmyEZbWJvW0FPCPw4cNtcctCve\n gTKBVZcD34NNs5KqitAiE65RQ4AYVH0Cn7UYNWfPwlzQiQMStQLjHEkoc+WCIUR1\n U2ELsfLWkb6Iez8Iv+pcZrrHD142YuFN6dqdYJQPpghwNdoavcA635f3Dr2DgZgA\n jq5c5Ex8fchdKaheHXtKdwsJ0ifXPxR6ErsegGORdw3bkvphsXLHl26og==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm2; bh=bZfcGAjqoVUKaf4MSRSxyPXnE5egTetUolMBzyzAROc=; b=FTpCU4fS\n Kf2h2BPPH4r+Xh/qGmXvK4cWEgNMH8McYWFnWaEmjNKnVXq0utmDnt//bMO9S83n\n 0Hht5CsZm4PzSGmOM1x2md6zl41+RufJLQFk0jJ5kXL6pPP4k3L9yzrFgQKGQPgZ\n lL/W/R76xZCYaryAX2Wa0q1hZi/FXmbrjLDrke9UDcdh9av+rfGH5y0aK3IHe7aM\n YQQ9T0Q085qkNZDrmQEnoIxa2aQH/V4DFSm0ek18oXEi8+Jj3wLGmHqR22aP6r89\n /QqfM196epWVadu9ZL4RoaK5tIg/lgTv4sePhSj4F0uF2gVNaq2BED4IDjwud99C\n 8JCTxd7YghFlEQ==" ], "X-ME-Sender": "<xms:W-BqYIzQuVltt1ncKI0-FLAIoU3SL07xhvSMB8vdBQmevQ14Re3E9g>\n <xme:W-BqYMMUATervSD248Kk3oi9OAynLTGOQOCLSv044GndyXyvyT3bH2KoI-lcZbhrx\n zbjj3QiZ2BulIfm4Q>", "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduledrudejvddgvdegucetufdoteggodetrfdotf\n fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre\n dtredttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes\n mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedvhefgiedvjeegtdevhe\n efhfetleefgfeivefgffevfeejgedtgfeutdehtdegveenucfkphepjeejrddufeegrddv\n tdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh\n homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth", "X-ME-Proxy": "<xmx:W-BqYHP-BUNJkb8ZDJdyKkTIFuSaKO-6z6snpVBZohFNOvJ7iVhbIQ>\n <xmx:W-BqYOSV1_nMCsw5hT9SzBx7ZOVbKN1yR7OTj4GUR_1sPV6X_IUsIQ>\n <xmx:W-BqYJCzpAYniqtlZwC_v2Ol_YxWpDhenJWgEGMPtoFk0jSxwqcjRA>\n <xmx:W-BqYA3NmGHARyrFmIqnaWrorH1-zsAetbpFL61PRFCr27fZBOw6Kg>", "From": "Thomas Monjalon <thomas@monjalon.net>", "To": "dev@dpdk.org", "Date": "Mon, 5 Apr 2021 12:02:59 +0200", "Message-Id": "<20210405100301.657768-2-thomas@monjalon.net>", "X-Mailer": "git-send-email 2.31.1", "In-Reply-To": "<20210405100301.657768-1-thomas@monjalon.net>", "References": "<20210310140107.2730088-1-thomas@monjalon.net>\n <20210405100301.657768-1-thomas@monjalon.net>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 1/3] log: choose EAL log type on registration\n failure", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "In the unlikely case where something goes wrong\nwhile registering a log type,\nthe fallback is to use the log type 0, assigned to EAL.\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n lib/librte_eal/include/rte_log.h | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/lib/librte_eal/include/rte_log.h b/lib/librte_eal/include/rte_log.h\nindex 173004fd71..21a7d16340 100644\n--- a/lib/librte_eal/include/rte_log.h\n+++ b/lib/librte_eal/include/rte_log.h\n@@ -380,6 +380,8 @@ RTE_INIT(__##type)\t\t\t\t\t\t\t\\\n {\t\t\t\t\t\t\t\t\t\\\n \ttype = rte_log_register_type_and_pick_level(RTE_STR(name),\t\\\n \t\t\t\t\t\t RTE_LOG_##level);\t\\\n+\tif (type < 0) \\\n+\t\ttype = RTE_LOGTYPE_EAL; \\\n }\n \n #ifdef __cplusplus\n", "prefixes": [ "v2", "1/3" ] }{ "id": 90554, "url": "