Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/813394/?format=api
{ "id": 813394, "url": "http://patchwork.ozlabs.org/api/patches/813394/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1505303106-9780-4-git-send-email-yamada.masahiro@socionext.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1505303106-9780-4-git-send-email-yamada.masahiro@socionext.com>", "list_archive_url": null, "date": "2017-09-13T11:45:03", "name": "[U-Boot,3/6] common.h: remove error()", "commit_ref": null, "pull_url": null, "state": "deferred", "archived": false, "hash": "bebc1dd8eb4bcab7b34196e2aa1ee40b1669add1", "submitter": { "id": 65882, "url": "http://patchwork.ozlabs.org/api/people/65882/?format=api", "name": "Masahiro Yamada", "email": "yamada.masahiro@socionext.com" }, "delegate": { "id": 38701, "url": "http://patchwork.ozlabs.org/api/users/38701/?format=api", "username": "masahir0y", "first_name": "Masahiro", "last_name": "Yamada", "email": "yamada.m@jp.panasonic.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1505303106-9780-4-git-send-email-yamada.masahiro@socionext.com/mbox/", "series": [ { "id": 2896, "url": "http://patchwork.ozlabs.org/api/series/2896/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2896", "date": "2017-09-13T11:45:01", "name": "Sync and consolidate Linux-derived printk, BUILD_BUG, BUG, WARN, etc.", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/2896/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/813394/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/813394/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=nifty.com header.i=@nifty.com\n\theader.b=\"jw96YYmY\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsfzc33Lvz9sPm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 21:47:40 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 206B9C22521; Wed, 13 Sep 2017 11:46:32 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id AF6B5C2259B;\n\tWed, 13 Sep 2017 11:45:43 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid CDC3DC2246F; Wed, 13 Sep 2017 11:45:32 +0000 (UTC)", "from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77])\n\tby lists.denx.de (Postfix) with ESMTPS id C9260C2246F\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 11:45:31 +0000 (UTC)", "from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp\n\t[153.142.97.92]) (authenticated)\n\tby conuserg-10.nifty.com with ESMTP id v8DBjE4q018351;\n\tWed, 13 Sep 2017 20:45:18 +0900" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=0.0 required=5.0 tests=T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0", "DKIM-Filter": "OpenDKIM Filter v2.10.3 conuserg-10.nifty.com v8DBjE4q018351", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1505303118;\n\tbh=b8No5ktuEeZGrIlQF3DvEbH4Es22F+/dIvoyf9ffOK8=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=jw96YYmYWSWRH4nMlE9VPk7gciI3yzJPbEhVeMYzYQhTLUv2Se1ybVDST7tpxmPcI\n\ti4JXawEW3vEViTk3WoNbh6gc/W0T47F+Zuk0Mt+Oi3Ja1X89Q89jj3KPKmdiia7noc\n\txbPGFhQgQdSPuxgKO9x7EkJePJBLMMSUiEMK1NDeQ7BXw/sRfBoFRfzRGn4bbC9EDU\n\t1DCfUtUSNF4rOcNRubpCeXRaS1UViU0PjX9Q2CujfyHeZ3DBEL1L/1D3M3C33w7WJy\n\tMVbBWxQ9ATVGgFOS2Ecav6y6G1XW51e7xAgbFPOqQ9WOyRzvoL370QdckHmaRwRkVm\n\tjbCLEynG0X/kA==", "X-Nifty-SrcIP": "[153.142.97.92]", "From": "Masahiro Yamada <yamada.masahiro@socionext.com>", "To": "u-boot@lists.denx.de", "Date": "Wed, 13 Sep 2017 20:45:03 +0900", "Message-Id": "<1505303106-9780-4-git-send-email-yamada.masahiro@socionext.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1505303106-9780-1-git-send-email-yamada.masahiro@socionext.com>", "References": "<1505303106-9780-1-git-send-email-yamada.masahiro@socionext.com>", "Subject": "[U-Boot] [PATCH 3/6] common.h: remove error()", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "This macro has prevented us from using compiletime_error/assert\nin <linux/compiler.h>.\n\nNow we can remove it, then we will be able to import more BUILD_BUG\nmacros from Linux.\n\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n---\n\n include/common.h | 5 -----\n 1 file changed, 5 deletions(-)", "diff": "diff --git a/include/common.h b/include/common.h\nindex ae3b876..e66b8ff 100644\n--- a/include/common.h\n+++ b/include/common.h\n@@ -89,11 +89,6 @@ void __assert_fail(const char *assertion, const char *file, unsigned line,\n \t({ if (!(x) && _DEBUG) \\\n \t\t__assert_fail(#x, __FILE__, __LINE__, __func__); })\n \n-#define error(fmt, args...) do {\t\t\t\t\t\\\n-\t\tprintf(\"ERROR: \" pr_fmt(fmt) \"\\nat %s:%d/%s()\\n\",\t\\\n-\t\t\t##args, __FILE__, __LINE__, __func__);\t\t\\\n-} while (0)\n-\n #ifndef BUG\n #define BUG() do { \\\n \tprintf(\"BUG: failure at %s:%d/%s()!\\n\", __FILE__, __LINE__, __FUNCTION__); \\\n", "prefixes": [ "U-Boot", "3/6" ] }