get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 711673,
    "url": "http://patchwork.ozlabs.org/api/patches/711673/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170106042856.5816-1-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": "<20170106042856.5816-1-wenyou.yang@atmel.com>",
    "list_archive_url": null,
    "date": "2017-01-06T04:28:55",
    "name": "[U-Boot] ARM: at91: move PIO_SCDR_DIV to mach/at91_pio.h",
    "commit_ref": null,
    "pull_url": null,
    "state": "deferred",
    "archived": false,
    "hash": "5e492b096d22b92d598e659e178cf631efc7a2fb",
    "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/20170106042856.5816-1-wenyou.yang@atmel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/711673/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/711673/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 3tvsGv246jz9t0H\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  6 Jan 2017 15:37:43 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id EA1B2A762D;\n\tFri,  6 Jan 2017 05:37:41 +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 D8fpDgXAD39V; Fri,  6 Jan 2017 05:37:41 +0100 (CET)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 68519B38E0;\n\tFri,  6 Jan 2017 05:37:41 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id B045FB38DC\n\tfor <u-boot@lists.denx.de>; Fri,  6 Jan 2017 05:37:38 +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 Jn7GVaoBdipf for <u-boot@lists.denx.de>;\n\tFri,  6 Jan 2017 05:37:38 +0100 (CET)",
            "from ussmtp01.atmel.com (nasmtp01.atmel.com [192.199.1.245])\n\tby theia.denx.de (Postfix) with ESMTPS id 0CA90A75B7\n\tfor <u-boot@lists.denx.de>; Fri,  6 Jan 2017 05:37:34 +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 21:31:55 -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 12:34:54 +0800"
        ],
        "X-Greylist": "delayed 329 seconds by postgrey-1.34 at theia;\n\tFri, 06 Jan 2017 05:37:34 CET",
        "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:28:55 +0800",
        "Message-ID": "<20170106042856.5816-1-wenyou.yang@atmel.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "MIME-Version": "1.0",
        "Subject": "[U-Boot] [PATCH] ARM: at91: move PIO_SCDR_DIV to mach/at91_pio.h",
        "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": "To fix the build error when building for at91sam9261ek, move\nPIO_SCDR_DIV definition to mach/at91_pio.h.\n---8<---\nerror: 'PIO_SCDR_DIV' undeclared (first use in this function)\n--->8---\n\nSigned-off-by: Wenyou Yang <wenyou.yang@atmel.com>\n---\n\n arch/arm/mach-at91/include/mach/at91_pio.h   | 2 ++\n arch/arm/mach-at91/include/mach/at91sam9x5.h | 1 -\n arch/arm/mach-at91/include/mach/sama5d3.h    | 1 -\n arch/arm/mach-at91/include/mach/sama5d4.h    | 1 -\n 4 files changed, 2 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/arch/arm/mach-at91/include/mach/at91_pio.h b/arch/arm/mach-at91/include/mach/at91_pio.h\nindex f195a7d38e..4840a2b8f2 100644\n--- a/arch/arm/mach-at91/include/mach/at91_pio.h\n+++ b/arch/arm/mach-at91/include/mach/at91_pio.h\n@@ -32,6 +32,8 @@\n #define AT91_ASM_PIOD_ASR\t\\\n \t(ATMEL_BASE_PIO + AT91_PIO_PORTD * AT91_ASM_PIO_RANGE + 0x70)\n \n+#define PIO_SCDR_DIV\t\t0x3fff\t/* Slow Clock Divider Selection for Debouncing Mask */\n+\n #ifndef __ASSEMBLY__\n \n typedef struct at91_port {\ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9x5.h b/arch/arm/mach-at91/include/mach/at91sam9x5.h\nindex eaec727253..e7224e432d 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9x5.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9x5.h\n@@ -171,7 +171,6 @@\n  * Other misc defines\n  */\n #define ATMEL_PIO_PORTS         4\n-#define PIO_SCDR_DIV            (0x3fff <<  0)  /* Slow Clock Divider Mask */\n #define ATMEL_PMC_UHP\t\tAT91SAM926x_PMC_UHP\n #define ATMEL_ID_UHP\t\tATMEL_ID_UHPHS\n \ndiff --git a/arch/arm/mach-at91/include/mach/sama5d3.h b/arch/arm/mach-at91/include/mach/sama5d3.h\nindex e4e97dc989..d558f95141 100644\n--- a/arch/arm/mach-at91/include/mach/sama5d3.h\n+++ b/arch/arm/mach-at91/include/mach/sama5d3.h\n@@ -188,7 +188,6 @@\n  * Other misc defines\n  */\n #define ATMEL_PIO_PORTS\t\t5\n-#define PIO_SCDR_DIV\t\t0x3fff\n #define CPU_HAS_PCR\n \n /* Timer */\ndiff --git a/arch/arm/mach-at91/include/mach/sama5d4.h b/arch/arm/mach-at91/include/mach/sama5d4.h\nindex 9a6c974bf7..78cc2a7a0a 100644\n--- a/arch/arm/mach-at91/include/mach/sama5d4.h\n+++ b/arch/arm/mach-at91/include/mach/sama5d4.h\n@@ -174,7 +174,6 @@\n  * Other misc defines\n  */\n #define ATMEL_PIO_PORTS\t\t5\n-#define PIO_SCDR_DIV\t\t0x3fff\n #define CPU_HAS_PCR\n #define CPU_HAS_H32MXDIV\n \n",
    "prefixes": [
        "U-Boot"
    ]
}