get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1241461,
    "url": "http://patchwork.ozlabs.org/api/patches/1241461/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/alpine.DEB.2.21.2002201541470.2210@hadrien/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<alpine.DEB.2.21.2002201541470.2210@hadrien>",
    "list_archive_url": null,
    "date": "2020-02-20T14:43:40",
    "name": "gwdpa: gswip: fix odd_ptr_err.cocci warnings",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "575459b5c6407d7aa7a6c7110d89f577fda8c253",
    "submitter": {
        "id": 78191,
        "url": "http://patchwork.ozlabs.org/api/people/78191/?format=api",
        "name": "Julia Lawall",
        "email": "julia.lawall@inria.fr"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/alpine.DEB.2.21.2002201541470.2210@hadrien/mbox/",
    "series": [
        {
            "id": 159749,
            "url": "http://patchwork.ozlabs.org/api/series/159749/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=159749",
            "date": "2020-02-20T14:43:40",
            "name": "gwdpa: gswip: fix odd_ptr_err.cocci warnings",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/159749/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1241461/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1241461/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=osuosl.org (client-ip=140.211.166.137;\n\thelo=fraxinus.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=inria.fr"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 48Ncm65fnQz9sRs\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 21 Feb 2020 01:43:49 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 1F06285F93;\n\tThu, 20 Feb 2020 14:43:48 +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 fLykzU8yPSp8; Thu, 20 Feb 2020 14:43:46 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 7757085F83;\n\tThu, 20 Feb 2020 14:43:46 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id AC4C71BF2B0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 20 Feb 2020 14:43:45 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id A489E87CEE\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 20 Feb 2020 14:43:45 +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 esHQ0Rln7psH for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 20 Feb 2020 14:43:44 +0000 (UTC)",
            "from mail3-relais-sop.national.inria.fr\n\t(mail3-relais-sop.national.inria.fr [192.134.164.104])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 19ADB87CE1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 20 Feb 2020 14:43:43 +0000 (UTC)",
            "from unknown (HELO hadrien) ([132.227.124.212])\n\tby mail3-relais-sop.national.inria.fr with\n\tESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2020 15:43:40 +0100"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-IronPort-AV": "E=Sophos;i=\"5.70,464,1574118000\"; d=\"scan'208\";a=\"339864857\"",
        "Date": "Thu, 20 Feb 2020 15:43:40 +0100 (CET)",
        "From": "Julia Lawall <julia.lawall@inria.fr>",
        "X-X-Sender": "julia@hadrien",
        "To": "Jack Ping CHNG <jack.ping.chng@linux.intel.com>",
        "Message-ID": "<alpine.DEB.2.21.2002201541470.2210@hadrien>",
        "User-Agent": "Alpine 2.21 (DEB 202 2017-01-01)",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [PATCH] gwdpa: gswip: fix odd_ptr_err.cocci\n\twarnings",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Cc": "kbuild-all@lists.01.org, netdev@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org,\n\tAmireddy Mallikarjuna reddy <mallikarjunax.reddy@linux.intel.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "From: kbuild test robot <lkp@intel.com>\n\nPTR_ERR should typically access the value just tested by IS_ERR\n\nGenerated by: scripts/coccinelle/tests/odd_ptr_err.cocci\n\nFixes: 69fab0a67a95 (\"gwdpa: gswip: Introduce Gigabit Ethernet Switch (GSWIP) device driver\")\nCC: Jack Ping CHNG <jack.ping.chng@linux.intel.com>\nSigned-off-by: kbuild test robot <lkp@intel.com>\nSigned-off-by: Julia Lawall <julia.lawall@inria.fr>\n\n---\n\nMaybe the code is correct, but just unnecessarily obscure.\n\ntree:   https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git dev-queue\nhead:   7a6fc7fc71cf6316739b60fcffdb86e0c43f99b5\ncommit: 69fab0a67a95208a25af95de20a0301298ee23f6 [43/47] gwdpa: gswip: Introduce Gigabit Ethernet Switch (GSWIP) device driver\n:::::: branch date: 9 hours ago\n:::::: commit date: 9 hours ago\n\n gswip_dev.c |    2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "--- a/drivers/net/ethernet/intel/gwdpa/gswip/gswip_dev.c\n+++ b/drivers/net/ethernet/intel/gwdpa/gswip/gswip_dev.c\n@@ -96,7 +96,7 @@ static int np_gswip_parse_dt(struct plat\n\n \tpdata->sw_clk = devm_clk_get(dev, \"switch\");\n \tif (IS_ERR(pdata->sw_clk))\n-\t\treturn PTR_ERR(priv->pdata.sw_clk);\n+\t\treturn PTR_ERR(pdata->sw_clk);\n\n \tfor_each_node_by_name(node, GSWIP_MAC_DEV_NAME) {\n \t\tpriv->num_subdev_mac++;\n",
    "prefixes": []
}