get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1093832,
    "url": "http://patchwork.ozlabs.org/api/patches/1093832/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190501205541.GA17995@embeddedor/",
    "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": "<20190501205541.GA17995@embeddedor>",
    "list_archive_url": null,
    "date": "2019-05-01T20:55:41",
    "name": "[next] i40e: mark expected switch fall-through",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b2d3ae66ace95950734d50a922ac81e4e26cd4bc",
    "submitter": {
        "id": 72003,
        "url": "http://patchwork.ozlabs.org/api/people/72003/?format=api",
        "name": "Gustavo A. R. Silva",
        "email": "gustavo@embeddedor.com"
    },
    "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/20190501205541.GA17995@embeddedor/mbox/",
    "series": [
        {
            "id": 105615,
            "url": "http://patchwork.ozlabs.org/api/series/105615/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=105615",
            "date": "2019-05-01T20:55:41",
            "name": "[next] i40e: mark expected switch fall-through",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/105615/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1093832/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1093832/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;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dmarc=none (p=none dis=none)\n\theader.from=embeddedor.com"
        ],
        "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 44vW0C4DK3z9sBr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  2 May 2019 06:56:26 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 8545B86440;\n\tWed,  1 May 2019 20:56:25 +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 03ngpGRYeiZR; Wed,  1 May 2019 20:56:24 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 5B3E586432;\n\tWed,  1 May 2019 20:56:24 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id D8A711BF947\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  1 May 2019 20:56:20 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id D42452E10C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  1 May 2019 20:56:20 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id zahWVkC2YQfs for <intel-wired-lan@lists.osuosl.org>;\n\tWed,  1 May 2019 20:56:20 +0000 (UTC)",
            "from gateway20.websitewelcome.com (gateway20.websitewelcome.com\n\t[192.185.47.18])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 0FE0C26CAB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  1 May 2019 20:56:20 +0000 (UTC)",
            "from cm11.websitewelcome.com (cm11.websitewelcome.com\n\t[100.42.49.5])\n\tby gateway20.websitewelcome.com (Postfix) with ESMTP id 52442400C527A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  1 May 2019 15:56:19 -0500 (CDT)",
            "from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP\n\tid LwH5hrSqPdnCeLwH5hbX2k; Wed, 01 May 2019 15:56:19 -0500",
            "from [189.250.119.203] (port=53920 helo=embeddedor)\n\tby gator4166.hostgator.com with esmtpa (Exim 4.91)\n\t(envelope-from <gustavo@embeddedor.com>)\n\tid 1hLwGU-0045wh-6U; Wed, 01 May 2019 15:56:18 -0500"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6",
        "X-Authority-Reason": "nr=8",
        "Date": "Wed, 1 May 2019 15:55:41 -0500",
        "From": "\"Gustavo A. R. Silva\" <gustavo@embeddedor.com>",
        "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>,\n\t\"David S. Miller\" <davem@davemloft.net>",
        "Message-ID": "<20190501205541.GA17995@embeddedor>",
        "MIME-Version": "1.0",
        "Content-Disposition": "inline",
        "User-Agent": "Mutt/1.9.4 (2018-02-28)",
        "X-AntiAbuse": [
            "This header was added to track abuse,\n\tplease include it with any abuse report",
            "Primary Hostname - gator4166.hostgator.com",
            "Original Domain - lists.osuosl.org",
            "Originator/Caller UID/GID - [47 12] / [47 12]",
            "Sender Address Domain - embeddedor.com"
        ],
        "X-BWhitelist": "no",
        "X-Source-IP": "189.250.119.203",
        "X-Source-L": "No",
        "X-Exim-ID": "1hLwGU-0045wh-6U",
        "X-Source": "",
        "X-Source-Args": "",
        "X-Source-Dir": "",
        "X-Source-Sender": "(embeddedor) [189.250.119.203]:53920",
        "X-Source-Auth": "gustavo@embeddedor.com",
        "X-Email-Count": "24",
        "X-Source-Cap": "Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20=",
        "X-Local-Domain": "yes",
        "Subject": "[Intel-wired-lan] [PATCH][next] i40e: mark expected switch\n\tfall-through",
        "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": "netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org,\n\tlinux-kernel@vger.kernel.org, Kees Cook <keescook@chromium.org>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "In preparation to enabling -Wimplicit-fallthrough, mark switch cases\nwhere we are expecting to fall through.\n\nThis patch fixes the following warning:\n\ndrivers/net/ethernet/intel/i40e/i40e_xsk.c: In function ‘i40e_run_xdp_zc’:\ndrivers/net/ethernet/intel/i40e/i40e_xsk.c:217:3: warning: this statement may fall through [-Wimplicit-fallthrough=]\n   bpf_warn_invalid_xdp_action(act);\n   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\ndrivers/net/ethernet/intel/i40e/i40e_xsk.c:218:2: note: here\n  case XDP_ABORTED:\n  ^~~~\n\nIn preparation to enabling -Wimplicit-fallthrough, mark switch cases\nwhere we are expecting to fall through.\n\nThis patch fixes the following warning:\n\nSigned-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_xsk.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_xsk.c b/drivers/net/ethernet/intel/i40e/i40e_xsk.c\nindex 1b17486543ac..557c565c26fc 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_xsk.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_xsk.c\n@@ -215,6 +215,7 @@ static int i40e_run_xdp_zc(struct i40e_ring *rx_ring, struct xdp_buff *xdp)\n \t\tbreak;\n \tdefault:\n \t\tbpf_warn_invalid_xdp_action(act);\n+\t\t/* fall through */\n \tcase XDP_ABORTED:\n \t\ttrace_xdp_exception(rx_ring->netdev, xdp_prog, act);\n \t\t/* fallthrough -- handle aborts by dropping packet */\n",
    "prefixes": [
        "next"
    ]
}