get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 796439,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/796439/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1501630414-4009-2-git-send-email-bmeng.cn@gmail.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<1501630414-4009-2-git-send-email-bmeng.cn@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-01T23:33:34",
    "name": "[U-Boot,2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to Kconfig",
    "commit_ref": "226b50bbd87b0c4ebf913066dfadbe04306ce402",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "00c31ecd03171d14601b8b701cf330feaa6d1636",
    "submitter": {
        "id": 64981,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/64981/?format=api",
        "name": "Bin Meng",
        "email": "bmeng.cn@gmail.com"
    },
    "delegate": {
        "id": 3184,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/3184/?format=api",
        "username": "sjg",
        "first_name": "Simon",
        "last_name": "Glass",
        "email": "sjg@chromium.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1501630414-4009-2-git-send-email-bmeng.cn@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/796439/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/796439/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=gmail.com header.i=@gmail.com\n\theader.b=\"hNeRm1lO\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xMXcb70L4z9ryv\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  2 Aug 2017 09:30:39 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid A5EEFC21E39; Tue,  1 Aug 2017 23:30:24 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 96CF3C21D95;\n\tTue,  1 Aug 2017 23:30:07 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 75195C21C73; Tue,  1 Aug 2017 23:30:06 +0000 (UTC)",
            "from mail-io0-f196.google.com (mail-io0-f196.google.com\n\t[209.85.223.196])\n\tby lists.denx.de (Postfix) with ESMTPS id F2DFEC21C41\n\tfor <u-boot@lists.denx.de>; Tue,  1 Aug 2017 23:30:05 +0000 (UTC)",
            "by mail-io0-f196.google.com with SMTP id o9so2583344iod.5\n\tfor <u-boot@lists.denx.de>; Tue, 01 Aug 2017 16:30:05 -0700 (PDT)",
            "from ala-d2121-lx1.wrs.com (unknown-156-139.windriver.com.\n\t[147.11.156.139]) by smtp.gmail.com with ESMTPSA id\n\tz80sm1296348itc.10.2017.08.01.16.30.03\n\t(version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 01 Aug 2017 16:30:04 -0700 (PDT)"
        ],
        "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=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:subject:date:message-id:in-reply-to:references;\n\tbh=tDSvDBMrj9bXbGyw79Cxq3wk5INBWB19+QTHVvWdof0=;\n\tb=hNeRm1lONlsf+8fN4Q6j1xHG405cWsMMVy0D2/Fx/1gZC2KIMVWwMC6KQEVllQE3oX\n\tNtIjb95NgQwS7/ULY3yP7Q1xKIXV6jwNj0nqBCNwRXq0Kd3Mv3pkVY0IE6CAKWI0E6cK\n\tlMGvo7NKMJcj1hVrMzBizNFxfXrQC+gIIomgouhQ9tsfg12VZe1tDnd2M9MXQ+lMFm6Q\n\t56GKb+uVQzfGIM2EQvCLjGEz+JIF6dEN+Q8Y8QqLQEb9AOUmycUlCx78NakdWyKjqHMd\n\tS4VlAoQvj+d+RxiSG9IhmoUfSEm/d7GGdeqa7apgrIBpDTUs3suGqiiDhClr+7BYnGtU\n\tEhlg==",
        "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:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=tDSvDBMrj9bXbGyw79Cxq3wk5INBWB19+QTHVvWdof0=;\n\tb=CTFHkB+nW4kpZLauDn7S/VZm0yG6k7h7rKaYm0agUNPyyHG+jzitIeqx2INHspo5Ns\n\tFQWxTOOGSvL3E/CvHYDo9kUOodjvid3zQPpHbP54nu7gCSSYMytHdosqoi/SAIXBbLUF\n\tEdCFlPR3mYOvJXwMCxBQFm9L80N5HTB6QqKXRyeKSxfUeX1T+D6vU2ec9TDxB9DNp9Wt\n\tPJc+cQOj46zs7KWoAJx+v7yubg1W5Y2U495MIeMCmz0aWRMRjwP/TzFBxs0HhEeu8CH8\n\tctp82io9USKX8h3/++IAQD1fI2l5rjmo+fvkPJl+v6c/xdKfVWzbMgsGgGakHuP3bn5n\n\tVgiQ==",
        "X-Gm-Message-State": "AHYfb5j55vuTKz9oqOwzFE+6ODREBbYGzsFK8LqujoNJLBiDHuE9q9Yq\n\tkazCobodSJy8xPpR",
        "X-Received": "by 10.107.33.204 with SMTP id h195mr3438018ioh.93.1501630204964; \n\tTue, 01 Aug 2017 16:30:04 -0700 (PDT)",
        "From": "Bin Meng <bmeng.cn@gmail.com>",
        "To": "Simon Glass <sjg@chromium.org>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Tue,  1 Aug 2017 16:33:34 -0700",
        "Message-Id": "<1501630414-4009-2-git-send-email-bmeng.cn@gmail.com>",
        "X-Mailer": "git-send-email 1.7.9.5",
        "In-Reply-To": "<1501630414-4009-1-git-send-email-bmeng.cn@gmail.com>",
        "References": "<1501630414-4009-1-git-send-email-bmeng.cn@gmail.com>",
        "Subject": "[U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig",
        "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": "Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct\nnumber depending on which host we are going to build and run.\n\nSigned-off-by: Bin Meng <bmeng.cn@gmail.com>\n---\n\n arch/sandbox/Kconfig         | 5 +++++\n board/sandbox/README.sandbox | 7 +++----\n scripts/config_whitelist.txt | 1 -\n 3 files changed, 8 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig\nindex 7b07bff..87418e3 100644\n--- a/arch/sandbox/Kconfig\n+++ b/arch/sandbox/Kconfig\n@@ -35,4 +35,9 @@ config SANDBOX_64BIT\n \n endchoice\n \n+config SANDBOX_BITS_PER_LONG\n+\tint\n+\tdefault 32 if SANDBOX_32BIT\n+\tdefault 64 if SANDBOX_64BIT\n+\n endmenu\ndiff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox\nindex 9dc2eb0..2e2c819 100644\n--- a/board/sandbox/README.sandbox\n+++ b/board/sandbox/README.sandbox\n@@ -24,6 +24,9 @@ single board in board/sandbox.\n CONFIG_SANDBOX_BIG_ENDIAN should be defined when running on big-endian\n machines.\n \n+By default sandbox builds and runs on 64-bit hosts. If you are going to build\n+and run sandbox on a 32-bit host, select CONFIG_SANDBOX_32BIT.\n+\n Note that standalone/API support is not available at present.\n \n \n@@ -44,10 +47,6 @@ Note:\n       make sandbox_defconfig all NO_SDL=1\n       ./u-boot\n \n-   If you are building on a 32-bit machine you may get errors from __ffs.h\n-   about shifting more than the machine word size. Edit the config file\n-   include/configs/sandbox.h and change CONFIG_SANDBOX_BITS_PER_LONG to 32.\n-\n U-Boot will start on your computer, showing a sandbox emulation of the serial\n console:\n \ndiff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt\nindex e630314..70f22e1 100644\n--- a/scripts/config_whitelist.txt\n+++ b/scripts/config_whitelist.txt\n@@ -2005,7 +2005,6 @@ CONFIG_SAMSUNG\n CONFIG_SAMSUNG_ONENAND\n CONFIG_SANDBOX_ARCH\n CONFIG_SANDBOX_BIG_ENDIAN\n-CONFIG_SANDBOX_BITS_PER_LONG\n CONFIG_SANDBOX_SDL\n CONFIG_SANDBOX_SPI_MAX_BUS\n CONFIG_SANDBOX_SPI_MAX_CS\n",
    "prefixes": [
        "U-Boot",
        "2/2"
    ]
}