get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 711678,
    "url": "http://patchwork.ozlabs.org/api/patches/711678/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170106045654.21193-2-wenyou.yang@atmel.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": "<20170106045654.21193-2-wenyou.yang@atmel.com>",
    "list_archive_url": null,
    "date": "2017-01-06T04:56:50",
    "name": "[U-Boot,1/4] ARM: at91: move CONFIG_AT91FAMILY option to Kconfig",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "9d2013a58c0fc9759655187696eb97012e901e27",
    "submitter": {
        "id": 16102,
        "url": "http://patchwork.ozlabs.org/api/people/16102/?format=api",
        "name": "Wenyou Yang",
        "email": "wenyou.yang@atmel.com"
    },
    "delegate": {
        "id": 6342,
        "url": "http://patchwork.ozlabs.org/api/users/6342/?format=api",
        "username": "abiessmann",
        "first_name": "Andreas",
        "last_name": "Bießmann",
        "email": "andreas.biessmann@googlemail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170106045654.21193-2-wenyou.yang@atmel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/711678/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/711678/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",
        "Received": [
            "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 3tvsn24KMwz9sdn\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  6 Jan 2017 16:00:22 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id D96D0B3912;\n\tFri,  6 Jan 2017 06:00:20 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ThtIlPaMAKQY; Fri,  6 Jan 2017 06:00:20 +0100 (CET)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 41424B3906;\n\tFri,  6 Jan 2017 06:00:20 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id A72E6B3922\n\tfor <u-boot@lists.denx.de>; Fri,  6 Jan 2017 06:00:16 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id RDo6omMT0440 for <u-boot@lists.denx.de>;\n\tFri,  6 Jan 2017 06:00:16 +0100 (CET)",
            "from ussmtp01.atmel.com (nasmtp01.atmel.com [192.199.1.245])\n\tby theia.denx.de (Postfix) with ESMTPS id CC63DB3908\n\tfor <u-boot@lists.denx.de>; Fri,  6 Jan 2017 06:00:10 +0100 (CET)",
            "from apsmtp01.atmel.com (10.168.254.30) by DVREDG01.corp.atmel.com\n\t(10.42.103.30) with Microsoft SMTP Server (TLS) id 14.3.235.1;\n\tThu, 5 Jan 2017 22:00:01 -0700",
            "from shaarm01.corp.atmel.com (10.168.254.13) by\n\tapsmtp01.corp.atmel.com (10.168.254.30) with Microsoft SMTP Server id\n\t14.3.235.1; Fri, 6 Jan 2017 13:03:01 +0800"
        ],
        "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)",
        "From": "Wenyou Yang <wenyou.yang@atmel.com>",
        "To": "U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Fri, 6 Jan 2017 12:56:50 +0800",
        "Message-ID": "<20170106045654.21193-2-wenyou.yang@atmel.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170106045654.21193-1-wenyou.yang@atmel.com>",
        "References": "<20170106045654.21193-1-wenyou.yang@atmel.com>",
        "MIME-Version": "1.0",
        "Subject": "[U-Boot] [PATCH 1/4] ARM: at91: move CONFIG_AT91FAMILY option to\n\tKconfig",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<http://lists.denx.de/mailman/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": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "Move CONFIG_AT91FAMILY option from include/mach/<soc>.h to Kconfig.\n\nSigned-off-by: Wenyou Yang <wenyou.yang@atmel.com>\n---\n\n arch/arm/mach-at91/Kconfig                    | 3 +++\n arch/arm/mach-at91/include/mach/at91rm9200.h  | 1 -\n arch/arm/mach-at91/include/mach/at91sam9260.h | 5 -----\n arch/arm/mach-at91/include/mach/at91sam9261.h | 5 -----\n arch/arm/mach-at91/include/mach/at91sam9263.h | 5 -----\n arch/arm/mach-at91/include/mach/at91sam9g45.h | 5 -----\n arch/arm/mach-at91/include/mach/at91sam9rl.h  | 5 -----\n arch/arm/mach-at91/include/mach/at91sam9x5.h  | 2 --\n arch/arm/mach-at91/include/mach/sama5d2.h     | 5 -----\n arch/arm/mach-at91/include/mach/sama5d3.h     | 5 -----\n arch/arm/mach-at91/include/mach/sama5d4.h     | 5 -----\n 11 files changed, 3 insertions(+), 43 deletions(-)",
    "diff": "diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig\nindex 13e19ba2fe..5cefeb429b 100644\n--- a/arch/arm/mach-at91/Kconfig\n+++ b/arch/arm/mach-at91/Kconfig\n@@ -1,5 +1,8 @@\n if ARCH_AT91\n \n+config AT91FAMILY\n+\tdef_bool y\n+\n choice\n \tprompt \"Atmel AT91 board select\"\n \toptional\ndiff --git a/arch/arm/mach-at91/include/mach/at91rm9200.h b/arch/arm/mach-at91/include/mach/at91rm9200.h\nindex d177bdcae5..d15fb7a292 100644\n--- a/arch/arm/mach-at91/include/mach/at91rm9200.h\n+++ b/arch/arm/mach-at91/include/mach/at91rm9200.h\n@@ -6,7 +6,6 @@\n #ifndef __AT91RM9200_H__\n #define __AT91RM9200_H__\n \n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 family */\n #define CONFIG_ARCH_CPU_INIT\t/* we need arch_cpu_init() for hw timers */\n #define CONFIG_AT91_GPIO\t/* and require always gpio features */\n \ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9260.h b/arch/arm/mach-at91/include/mach/at91sam9260.h\nindex 1a4e84b050..24d5dbd68a 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9260.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9260.h\n@@ -19,11 +19,6 @@\n #define AT91SAM9260_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9261.h b/arch/arm/mach-at91/include/mach/at91sam9261.h\nindex 914a3b0460..06403ce225 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9261.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9261.h\n@@ -19,11 +19,6 @@\n #define AT91SAM9261_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9263.h b/arch/arm/mach-at91/include/mach/at91sam9263.h\nindex 71675abf82..be9a665db5 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9263.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9263.h\n@@ -15,11 +15,6 @@\n #define AT91SAM9263_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9g45.h b/arch/arm/mach-at91/include/mach/at91sam9g45.h\nindex 5c32e24ed0..96922c4e6b 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9g45.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9g45.h\n@@ -13,11 +13,6 @@\n #define AT91SAM9G45_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9rl.h b/arch/arm/mach-at91/include/mach/at91sam9rl.h\nindex 70bbf4edaa..8f9155c9ea 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9rl.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9rl.h\n@@ -15,11 +15,6 @@\n #define AT91SAM9RL_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9x5.h b/arch/arm/mach-at91/include/mach/at91sam9x5.h\nindex e7224e432d..f9710a172f 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9x5.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9x5.h\n@@ -12,8 +12,6 @@\n #ifndef __AT91SAM9X5_H__\n #define __AT91SAM9X5_H__\n \n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 family */\n-\n /*\n  * Peripheral identifiers/interrupts.\n  */\ndiff --git a/arch/arm/mach-at91/include/mach/sama5d2.h b/arch/arm/mach-at91/include/mach/sama5d2.h\nindex 25c85411e5..2ee3d68db3 100644\n--- a/arch/arm/mach-at91/include/mach/sama5d2.h\n+++ b/arch/arm/mach-at91/include/mach/sama5d2.h\n@@ -11,11 +11,6 @@\n #define __SAMA5D2_H\n \n /*\n- * definitions to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* It's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t\t0\t/* FIQ Interrupt ID */\ndiff --git a/arch/arm/mach-at91/include/mach/sama5d3.h b/arch/arm/mach-at91/include/mach/sama5d3.h\nindex d558f95141..0d32e3900f 100644\n--- a/arch/arm/mach-at91/include/mach/sama5d3.h\n+++ b/arch/arm/mach-at91/include/mach/sama5d3.h\n@@ -14,11 +14,6 @@\n #define SAMA5D3_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/sama5d4.h b/arch/arm/mach-at91/include/mach/sama5d4.h\nindex 78cc2a7a0a..7e2657faeb 100644\n--- a/arch/arm/mach-at91/include/mach/sama5d4.h\n+++ b/arch/arm/mach-at91/include/mach/sama5d4.h\n@@ -11,11 +11,6 @@\n #define __SAMA5D4_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* It's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* FIQ Interrupt */\n",
    "prefixes": [
        "U-Boot",
        "1/4"
    ]
}