get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 805671,
    "url": "http://patchwork.ozlabs.org/api/patches/805671/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/sparclinux/patch/20170824211648.17281-1-aaro.koskinen@iki.fi/",
    "project": {
        "id": 10,
        "url": "http://patchwork.ozlabs.org/api/projects/10/?format=api",
        "name": "Linux SPARC Development ",
        "link_name": "sparclinux",
        "list_id": "sparclinux.vger.kernel.org",
        "list_email": "sparclinux@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170824211648.17281-1-aaro.koskinen@iki.fi>",
    "list_archive_url": null,
    "date": "2017-08-24T21:16:48",
    "name": "[silo] second/tilo: make all inline functions static",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8e61708c70bc05ce6a4d23431acb2798a2f06511",
    "submitter": {
        "id": 13163,
        "url": "http://patchwork.ozlabs.org/api/people/13163/?format=api",
        "name": "Aaro Koskinen",
        "email": "aaro.koskinen@iki.fi"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/sparclinux/patch/20170824211648.17281-1-aaro.koskinen@iki.fi/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/805671/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/805671/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<sparclinux-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=sparclinux-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xdcmK00X7z9t24\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri, 25 Aug 2017 07:26:08 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753868AbdHXVZy (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 24 Aug 2017 17:25:54 -0400",
            "from emh07.mail.saunalahti.fi ([62.142.5.117]:40359 \"EHLO\n\temh07.mail.saunalahti.fi\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1753844AbdHXVZw (ORCPT\n\t<rfc822; sparclinux@vger.kernel.org>); Thu, 24 Aug 2017 17:25:52 -0400",
            "from localhost.localdomain (85-76-79-90-nat.elisa-mobile.fi\n\t[85.76.79.90])\n\tby emh07.mail.saunalahti.fi (Postfix) with ESMTP id 6FCB0415A;\n\tFri, 25 Aug 2017 00:17:07 +0300 (EEST)"
        ],
        "X-Greylist": "delayed 523 seconds by postgrey-1.27 at vger.kernel.org;\n\tThu, 24 Aug 2017 17:25:52 EDT",
        "From": "Aaro Koskinen <aaro.koskinen@iki.fi>",
        "To": "davem@davemloft.net, sparclinux@vger.kernel.org",
        "Cc": "Aaro Koskinen <aaro.koskinen@iki.fi>",
        "Subject": "[PATCH silo] second/tilo: make all inline functions static",
        "Date": "Fri, 25 Aug 2017 00:16:48 +0300",
        "Message-Id": "<20170824211648.17281-1-aaro.koskinen@iki.fi>",
        "X-Mailer": "git-send-email 2.9.2",
        "Sender": "sparclinux-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<sparclinux.vger.kernel.org>",
        "X-Mailing-List": "sparclinux@vger.kernel.org"
    },
    "content": "Make all inline functions static. This will avoid build errors\nwith GCC 7.2.\n\nSigned-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>\n---\n second/cfg.c    | 2 +-\n second/decomp.c | 2 +-\n second/memory.c | 8 ++++----\n tilo/tilo.c     | 2 +-\n 4 files changed, 7 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/second/cfg.c b/second/cfg.c\nindex 69de34c..15d2d88 100644\n--- a/second/cfg.c\n+++ b/second/cfg.c\n@@ -127,7 +127,7 @@ void cfg_error (char *msg,...)\n     longjmp (env, 1);\n }\n \n-inline int my_getc ()\n+static inline int my_getc ()\n {\n     if (currp == endp)\n \treturn EOF;\ndiff --git a/second/decomp.c b/second/decomp.c\nindex df4786c..32fae92 100644\n--- a/second/decomp.c\n+++ b/second/decomp.c\n@@ -62,7 +62,7 @@ static unsigned outcnt = 0;\t/* bytes in output buffer */\n static void flush_window (void);\n static void error (char *);\n #define gzip_mark mark\n-inline void gzip_release (void **p)\n+static inline void gzip_release (void **p)\n {\n     release (*p);\n }\ndiff --git a/second/memory.c b/second/memory.c\nindex f642577..4157cdd 100644\n--- a/second/memory.c\n+++ b/second/memory.c\n@@ -158,7 +158,7 @@ void sun4c_unmapio (unsigned long virtual)\n     sun4c_map (virtual & ~4095, 0);\n }\n \n-inline unsigned long sun4m_get_lev1 (void)\n+static inline unsigned long sun4m_get_lev1 (void)\n {\n     unsigned long ret;\n     \n@@ -172,7 +172,7 @@ inline unsigned long sun4m_get_lev1 (void)\n     return ret;\n }\n \n-inline unsigned long sun4m_probe (unsigned long l)\n+static inline unsigned long sun4m_probe (unsigned long l)\n {\n     unsigned long ret;\n     \n@@ -181,7 +181,7 @@ inline unsigned long sun4m_probe (unsigned long l)\n     return ret;\n }\n \n-inline unsigned long sun4m_get_direct (unsigned long l)\n+static inline unsigned long sun4m_get_direct (unsigned long l)\n {\n     unsigned long ret;\n     __asm__ (\"\\n\\t\"\n@@ -189,7 +189,7 @@ inline unsigned long sun4m_get_direct (unsigned long l)\n     return ret;\n }\n \n-inline void sun4m_set_direct (unsigned long l, unsigned long set)\n+static inline void sun4m_set_direct (unsigned long l, unsigned long set)\n {\n     __asm__ (\"\\n\\t\"\n \t\"sta %0, [%1] 32\\n\\t\" : : \"r\" (set), \"r\" (l));\ndiff --git a/tilo/tilo.c b/tilo/tilo.c\nindex 9ed4091..0cabe7b 100644\n--- a/tilo/tilo.c\n+++ b/tilo/tilo.c\n@@ -73,7 +73,7 @@ static unsigned outcnt = 0;\t/* bytes in output buffer */\n static void flush_window (void);\n static void error (char *);\n #define gzip_mark mark\n-inline void gzip_release (void **p)\n+static inline void gzip_release (void **p)\n {\n     release (*p);\n }\n",
    "prefixes": [
        "silo"
    ]
}