get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/809917/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 809917,
    "url": "http://patchwork.ozlabs.org/api/patches/809917/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170905041555.27696-2-bsingharora@gmail.com/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<20170905041555.27696-2-bsingharora@gmail.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170905041555.27696-2-bsingharora@gmail.com/",
    "date": "2017-09-05T04:15:53",
    "name": "[rfc,1/3] powerpc/mce.c: Remove unused function get_mce_fault_addr()",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c2fbb1c19a08be00e982b4d54ed5c2fc8fcf52b4",
    "submitter": {
        "id": 9347,
        "url": "http://patchwork.ozlabs.org/api/people/9347/?format=api",
        "name": "Balbir Singh",
        "email": "bsingharora@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170905041555.27696-2-bsingharora@gmail.com/mbox/",
    "series": [
        {
            "id": 1484,
            "url": "http://patchwork.ozlabs.org/api/series/1484/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=1484",
            "date": "2017-09-05T04:15:52",
            "name": "Revisit MCE handling for UE errors",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1484/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809917/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809917/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xmYQP4z4xz9s9Y\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue,  5 Sep 2017 14:19:41 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xmYQP3d6qzDqnQ\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue,  5 Sep 2017 14:19:41 +1000 (AEST)",
            "from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xmYLN1SwWzDqnQ\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue,  5 Sep 2017 14:16:12 +1000 (AEST)",
            "from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2])\n\tby bilbo.ozlabs.org (Postfix) with ESMTP id 3xmYLN0jNyz8t2N\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue,  5 Sep 2017 14:16:12 +1000 (AEST)",
            "by ozlabs.org (Postfix)\n\tid 3xmYLN0WSdz9sPk; Tue,  5 Sep 2017 14:16:12 +1000 (AEST)",
            "from mail-pg0-x241.google.com (mail-pg0-x241.google.com\n\t[IPv6:2607:f8b0:400e:c05::241])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xmYLM5M3Cz9s9Y\n\tfor <linuxppc-dev@ozlabs.org>; Tue,  5 Sep 2017 14:16:11 +1000 (AEST)",
            "by mail-pg0-x241.google.com with SMTP id j6so1264352pgc.4\n\tfor <linuxppc-dev@ozlabs.org>; Mon, 04 Sep 2017 21:16:11 -0700 (PDT)",
            "from firefly.ozlabs.ibm.com.ozlabs.ibm.com ([122.99.82.10])\n\tby smtp.gmail.com with ESMTPSA id\n\tw6sm11634415pfb.13.2017.09.04.21.16.07\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 04 Sep 2017 21:16:09 -0700 (PDT)"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"e6lUKTeq\"; dkim-atps=neutral",
            "lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"e6lUKTeq\"; dkim-atps=neutral",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"e6lUKTeq\"; dkim-atps=neutral",
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400e:c05::241; helo=mail-pg0-x241.google.com;\n\tenvelope-from=bsingharora@gmail.com; receiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"e6lUKTeq\"; dkim-atps=neutral"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=cb/oq/9Ld847hcWmV9Y7jUomVcW/qW7SWYA2g1ZZiaE=;\n\tb=e6lUKTeq97CH3dVLelA351w6HeqLWLBHmZ25yhTYFfNe0Xu+sX+dCy9r9SsiFPUE//\n\tWJceBZct3JalT6Dy7p027DOaD+jm94MAqG+XRxS5cI2fdZhj8GhnBt7BMi3G/zY0b04s\n\tIPadQl3A748kY/d8SG6Ys3kBvqhRXHezH+2seqG6LZhNIlORadNH+6q9g2hyP0uqZ7sU\n\tN6lbIGvuvjSJ5Qm+s7N7MqDlOqdAgUjJ9dmzhsKzGlagus9a84S2XYsT+7EqcQWxbB4x\n\t47jJ8FT6GAutOEwt2blWsd9pIM3mSMZrefnTw6A/iyMzKAiXUr+RBo5DqY0d7Xn2ru8f\n\t/R/Q==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=cb/oq/9Ld847hcWmV9Y7jUomVcW/qW7SWYA2g1ZZiaE=;\n\tb=Lxx097w5ZHwlysbUXt8sshoWSAaKnZFZmrWU4F+5dhgDoT2p4WRuqYVTYZBBz47xLx\n\tX88nMy5Qqfi4s+g81MLcqeo4K/IIMXaX9TlBtEp5Cbc2/B+/1QprJZV7DsDOrP1RtNX5\n\ttr6ISOhRydQ+1U+zNkhKqFoabm+uP/oCXEvT12HiYPgHwGrG0/Sqr1tw+kB1j+quvmQ3\n\tG0JyvPP2Y0h44LuQVez2mc7N0iHRdjeAUxnSg0I3X37VrmFHHxRu58R3k+WJs4E0oY6x\n\tNFUZfxT+IbuREeiJWYoXaXLCinGGSvvOIc7RwZSEeQpxW2RKq6Kcx8aG4z6Dch0CRmEk\n\t8zXw==",
        "X-Gm-Message-State": "AHPjjUhohRmMVaFtvOud+RH7VkTXHvc2zTiP3WnDAJ+vscG5rDi5zi3Q\n\t6zsuOMim/7ZCqQ==",
        "X-Google-Smtp-Source": "ADKCNb5zrrMcKYdmNjYO4FefNmwM2rVTBLVzHMXrI5srsJGwwUGxcYABnTyCAV4BaHpmwWWNfaulqg==",
        "X-Received": "by 10.84.224.141 with SMTP id s13mr2829593plj.409.1504584970087; \n\tMon, 04 Sep 2017 21:16:10 -0700 (PDT)",
        "From": "Balbir Singh <bsingharora@gmail.com>",
        "To": "npiggin@gmail.com,\n\tmahesh@linux.vnet.ibm.com,\n\talistair@popple.id.au",
        "Subject": "[rfc 1/3] powerpc/mce.c: Remove unused function get_mce_fault_addr()",
        "Date": "Tue,  5 Sep 2017 14:15:53 +1000",
        "Message-Id": "<20170905041555.27696-2-bsingharora@gmail.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20170905041555.27696-1-bsingharora@gmail.com>",
        "References": "<20170905041555.27696-1-bsingharora@gmail.com>",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.23",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "linuxppc-dev@ozlabs.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"
    },
    "content": "There are no users of get_mce_fault_addr()\n\nFixes: b63a0ff (\"powerpc/powernv: Machine check exception handling.\")\n\nSigned-off-by: Balbir Singh <bsingharora@gmail.com>\n---\n arch/powerpc/include/asm/mce.h |  2 --\n arch/powerpc/kernel/mce.c      | 39 ---------------------------------------\n 2 files changed, 41 deletions(-)",
    "diff": "diff --git a/arch/powerpc/include/asm/mce.h b/arch/powerpc/include/asm/mce.h\nindex 190d69a..75292c7 100644\n--- a/arch/powerpc/include/asm/mce.h\n+++ b/arch/powerpc/include/asm/mce.h\n@@ -210,6 +210,4 @@ extern void release_mce_event(void);\n extern void machine_check_queue_event(void);\n extern void machine_check_print_event_info(struct machine_check_event *evt,\n \t\t\t\t\t   bool user_mode);\n-extern uint64_t get_mce_fault_addr(struct machine_check_event *evt);\n-\n #endif /* __ASM_PPC64_MCE_H__ */\ndiff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c\nindex 9b2ea7e..e254399 100644\n--- a/arch/powerpc/kernel/mce.c\n+++ b/arch/powerpc/kernel/mce.c\n@@ -411,45 +411,6 @@ void machine_check_print_event_info(struct machine_check_event *evt,\n }\n EXPORT_SYMBOL_GPL(machine_check_print_event_info);\n \n-uint64_t get_mce_fault_addr(struct machine_check_event *evt)\n-{\n-\tswitch (evt->error_type) {\n-\tcase MCE_ERROR_TYPE_UE:\n-\t\tif (evt->u.ue_error.effective_address_provided)\n-\t\t\treturn evt->u.ue_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_SLB:\n-\t\tif (evt->u.slb_error.effective_address_provided)\n-\t\t\treturn evt->u.slb_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_ERAT:\n-\t\tif (evt->u.erat_error.effective_address_provided)\n-\t\t\treturn evt->u.erat_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_TLB:\n-\t\tif (evt->u.tlb_error.effective_address_provided)\n-\t\t\treturn evt->u.tlb_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_USER:\n-\t\tif (evt->u.user_error.effective_address_provided)\n-\t\t\treturn evt->u.user_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_RA:\n-\t\tif (evt->u.ra_error.effective_address_provided)\n-\t\t\treturn evt->u.ra_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_LINK:\n-\t\tif (evt->u.link_error.effective_address_provided)\n-\t\t\treturn evt->u.link_error.effective_address;\n-\t\tbreak;\n-\tdefault:\n-\tcase MCE_ERROR_TYPE_UNKNOWN:\n-\t\tbreak;\n-\t}\n-\treturn 0;\n-}\n-EXPORT_SYMBOL(get_mce_fault_addr);\n-\n /*\n  * This function is called in real mode. Strictly no printk's please.\n  *\n",
    "prefixes": [
        "rfc",
        "1/3"
    ]
}