get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809248,
    "url": "http://patchwork.ozlabs.org/api/patches/809248/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/97a1396440baea0fec1c3fb6593d9cf7f3655f99.1504432422.git.yann.morin.1998@free.fr/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<97a1396440baea0fec1c3fb6593d9cf7f3655f99.1504432422.git.yann.morin.1998@free.fr>",
    "list_archive_url": null,
    "date": "2017-09-03T09:53:51",
    "name": "[2/3] arch/mips: inverse the mfpxx logic",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "5cf85cef48adf47af9ad7ba379343aaa74613d36",
    "submitter": {
        "id": 13903,
        "url": "http://patchwork.ozlabs.org/api/people/13903/?format=api",
        "name": "Yann E. MORIN",
        "email": "yann.morin.1998@free.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/97a1396440baea0fec1c3fb6593d9cf7f3655f99.1504432422.git.yann.morin.1998@free.fr/mbox/",
    "series": [
        {
            "id": 1207,
            "url": "http://patchwork.ozlabs.org/api/series/1207/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1207",
            "date": "2017-09-03T09:53:50",
            "name": "[1/3] arch/mips: inverse the NaN logic",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1207/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809248/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809248/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\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=\"nIt/WvDA\"; dkim-atps=neutral"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xlSxK4839z9s76\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 19:54:13 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 997BB88A27;\n\tSun,  3 Sep 2017 09:54:08 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id LxX3WDo5gpcN; Sun,  3 Sep 2017 09:54:04 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 160F388516;\n\tSun,  3 Sep 2017 09:54:04 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 2F68D1C41C7\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 09:54:02 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 2700F8698D\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 09:54:02 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id V0K3KXaLg3wD for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 09:54:01 +0000 (UTC)",
            "from mail-wm0-f65.google.com (mail-wm0-f65.google.com\n\t[74.125.82.65])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 1DF438695E\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 09:54:01 +0000 (UTC)",
            "by mail-wm0-f65.google.com with SMTP id l19so3887536wmi.1\n\tfor <buildroot@buildroot.org>; Sun, 03 Sep 2017 02:54:01 -0700 (PDT)",
            "from localhost.localdomain\n\t(2a01cb0886107300d49b0f6dfb1eb067.ipv6.abo.wanadoo.fr.\n\t[2a01:cb08:8610:7300:d49b:f6d:fb1e:b067])\n\tby smtp.gmail.com with ESMTPSA id\n\tw16sm3777451wmw.2.2017.09.03.02.53.56\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 03 Sep 2017 02:53:56 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=Btu9QG11UNPJDuQ6+oR/0C3vM6lhJxANeN1qTzNoxDs=;\n\tb=nIt/WvDArgIQuK0QzosBoMzhcWb1nT34TW8RQrqc/BqNb4/9FEgdVT31+NXiPQxSoN\n\tgQyrOQ/RT13hjbaRrcbiK0C9zT1Qe1vGFok0HydyhWzBvwVPyXkb1B7BLiQkFUsiSUwq\n\tu9tTke/Ob1Lbe9HgR1fgUb4+fH5SWh/hXPCPWSMJ9HlTu6bGTAHkfzgxsrrs87P+EmKQ\n\tg+JVyj1xCJR0ww7KPHKmz3OhijSKD/9MjDqPNRNIo9ThlrFOr/YInHpPAConqxXPAQlC\n\tdWo5cCliv9wqZRvAjJLu3ZQGQUdR87cXy7XzvY9fBBIo9tM/VKzMHKHVqj++N5VutMFq\n\t1AGQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=Btu9QG11UNPJDuQ6+oR/0C3vM6lhJxANeN1qTzNoxDs=;\n\tb=PUPfQnxKp/fhIT9WRV2f4TjHNgRCpGGWvtdjwK6tfimZOUefTG2W0j9ksAAMtXwd7M\n\tjJufmwv8hGWGyxa6SGb0CdAp7XJPdwLtyqCZLy5FBxyhyjOMb/GdYG3+NuaITUyBZipK\n\t9LXO1ZiV0QgRdapUy3qEmGGplxyjQ5LWBUFQQHT99bLARimpCkoU1WIImEOZMqH34KyF\n\t65Xn3mySN1IX61SLLblxOIZ7P1jHHl5OEP5nmRGV9oFwl8Bf37KcCXdjDop+PBkGND7x\n\ts8A/lUeEsKx6lpqlK/K63I8yShrc5Nb6sFU4cQ3FRSstRYO5Cin3PpIDROniM+yC+W/t\n\tdG7g==",
        "X-Gm-Message-State": "AHPjjUiLKYWmBXQWQxGS8Jpaflf6Q0oWuzOhgufYZDFuSGE1sNxAhZQk\n\tkKIrTGmzBcOVrZs8",
        "X-Google-Smtp-Source": "ADKCNb4nvdmvlBPPwh0PAHXlD7W2/BoOMAvpDJzMn+PppHXUw60OGTA1WCfOO66fQPniX5kc0g/8IQ==",
        "X-Received": "by 10.28.216.15 with SMTP id p15mr2480167wmg.161.1504432439397; \n\tSun, 03 Sep 2017 02:53:59 -0700 (PDT)",
        "From": "\"Yann E. MORIN\" <yann.morin.1998@free.fr>",
        "To": "buildroot@buildroot.org",
        "Date": "Sun,  3 Sep 2017 11:53:51 +0200",
        "Message-Id": "<97a1396440baea0fec1c3fb6593d9cf7f3655f99.1504432422.git.yann.morin.1998@free.fr>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<cover.1504432422.git.yann.morin.1998@free.fr>",
        "References": "<cover.1504432422.git.yann.morin.1998@free.fr>",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\t\"Yann E. MORIN\" <yann.morin.1998@free.fr>,\n\tVicente Olivert Riera <Vincent.Riera@imgtec.com>",
        "Subject": "[Buildroot] [PATCH 2/3] arch/mips: inverse the mfpxx logic",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>",
        "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>",
        "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@busybox.net>",
        "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>",
        "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Currently, the possibility to choose the floating point mode (32, xx or\n64) is conditional on having a sufficiently recent gcc version.\n\nWhich means that the architecture selection depends on the gcc version.\n\nBut that's opposite to what we've always done in Buildroot: the software\nversions are conditional to the architecture options. There is nothing\nwe can do about the hardware: it is there, we can't change it, while we\ncan restrict ourselves to using software that is working on said\nhardware.\n\nThus, we inverse the logic, to move the condition onto the software\nside: whenever mfpxx is selected, we restrict the toolchain selection to\nat least a gcc-5.\n\nAnd now, the blind BR2_TOOLCHAIN_HAS_MFPXX_OPTION symbol is no longer\nneeded, so we get rid of it.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nCc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\nCc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>\n---\n arch/Config.in.mips           | 4 ++--\n toolchain/toolchain-common.in | 4 ----\n 2 files changed, 2 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/arch/Config.in.mips b/arch/Config.in.mips\nindex 13d1a477e6..f8e57bab33 100644\n--- a/arch/Config.in.mips\n+++ b/arch/Config.in.mips\n@@ -146,7 +146,7 @@ config BR2_MIPS_SOFT_FLOAT\n choice\n \tprompt \"FP mode\"\n \tdepends on !BR2_ARCH_IS_64 && !BR2_MIPS_SOFT_FLOAT\n-\tdefault BR2_MIPS_FP32_MODE_XX if BR2_TOOLCHAIN_HAS_MFPXX_OPTION\n+\tdefault BR2_MIPS_FP32_MODE_XX\n \thelp\n \t  MIPS32 supports different FP modes (32,xx,64). Information about FP\n \t  modes can be found here:\n@@ -159,7 +159,7 @@ config BR2_MIPS_FP32_MODE_32\n \n config BR2_MIPS_FP32_MODE_XX\n \tbool \"xx\"\n-\tdepends on BR2_TOOLCHAIN_HAS_MFPXX_OPTION\n+\tselect BR2_ARCH_NEEDS_GCC_AT_LEAST_5\n \n config BR2_MIPS_FP32_MODE_64\n \tbool \"64\"\ndiff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in\nindex dd192b9ba4..0002682e12 100644\n--- a/toolchain/toolchain-common.in\n+++ b/toolchain/toolchain-common.in\n@@ -346,10 +346,6 @@ config BR2_TOOLCHAIN_HAS_MNAN_OPTION\n \tbool\n \tdefault y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9\n \n-config BR2_TOOLCHAIN_HAS_MFPXX_OPTION\n-\tbool\n-\tdefault y if BR2_TOOLCHAIN_GCC_AT_LEAST_5\n-\n config BR2_TOOLCHAIN_HAS_SYNC_1\n \tbool\n \tdefault y\n",
    "prefixes": [
        "2/3"
    ]
}