get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 991919,
    "url": "http://patchwork.ozlabs.org/api/patches/991919/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1b31c663afa1aa7b3d231917f00f58b9cb604231.camel@perches.com/",
    "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": "<1b31c663afa1aa7b3d231917f00f58b9cb604231.camel@perches.com>",
    "list_archive_url": null,
    "date": "2018-11-01T07:03:31",
    "name": "igb: Fix format with line continuation whitespace",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a10915203bd3f2e9df46dcbbc79aa1fa4dfcdba1",
    "submitter": {
        "id": 771,
        "url": "http://patchwork.ozlabs.org/api/people/771/?format=api",
        "name": "Joe Perches",
        "email": "joe@perches.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/1b31c663afa1aa7b3d231917f00f58b9cb604231.camel@perches.com/mbox/",
    "series": [
        {
            "id": 73598,
            "url": "http://patchwork.ozlabs.org/api/series/73598/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=73598",
            "date": "2018-11-01T07:03:31",
            "name": "igb: Fix format with line continuation whitespace",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/73598/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/991919/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/991919/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.133; helo=hemlock.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=perches.com"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\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 42m3yj0RB2zB4X5\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  1 Nov 2018 23:13:48 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 27067864C8;\n\tThu,  1 Nov 2018 12:13:47 +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 Wt-25JLC1tJV; Thu,  1 Nov 2018 12:13:44 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 34ED985784;\n\tThu,  1 Nov 2018 12:13:44 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id AADB71BF420\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  1 Nov 2018 12:13:42 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A3C3F84757\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  1 Nov 2018 12:13:42 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id qVLD5zV4StGi for <intel-wired-lan@lists.osuosl.org>;\n\tThu,  1 Nov 2018 12:13:41 +0000 (UTC)",
            "from smtprelay.hostedemail.com (smtprelay0056.hostedemail.com\n\t[216.40.44.56])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id A0A2884737\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  1 Nov 2018 12:13:41 +0000 (UTC)",
            "from smtprelay.hostedemail.com (10.5.19.251.rfc1918.com\n\t[10.5.19.251])\n\tby smtpgrave08.hostedemail.com (Postfix) with ESMTP id 532F518009943\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  1 Nov 2018 07:03:36 +0000 (UTC)",
            "from filter.hostedemail.com (clb03-v110.bra.tucows.net\n\t[216.40.38.60])\n\tby smtprelay08.hostedemail.com (Postfix) with ESMTP id E29F4182CF666; \n\tThu,  1 Nov 2018 07:03:33 +0000 (UTC)",
            "from XPS-9350.home (unknown [47.151.153.53])\n\t(Authenticated sender: joe@perches.com)\n\tby omf13.hostedemail.com (Postfix) with ESMTPA;\n\tThu,  1 Nov 2018 07:03:32 +0000 (UTC)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6",
        "X-Session-Marker": "6A6F6540706572636865732E636F6D",
        "X-Spam-Summary": "2, 0, 0, , d41d8cd98f00b204, joe@perches.com, :::::::::,\n\tRULES_HIT:41:355:379:800:960:968:973:979:988:989:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3865:3867:3868:3870:4321:4383:5007:6119:7903:7974:10004:10400:10848:11026:11657:11658:11914:12043:12296:12438:12555:12679:12760:13069:13095:13161:13229:13311:13357:13439:14181:14394:14659:14721:21080:21433:21450:21451:21627:30054:30055,\n\t0,\n\tRBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.8.0.100\n\t64.201.201.201, \n\tCacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0,\n\tMSF:not bulk, SPF:fn, MSBL:0, DNSBL:neutral, Custom_rules:0:0:0,\n\tLFtime:27, LUA_SUMMARY:none",
        "X-HE-Tag": "hat75_764b258d0ee38",
        "X-Filterd-Recvd-Size": "2270",
        "Message-ID": "<1b31c663afa1aa7b3d231917f00f58b9cb604231.camel@perches.com>",
        "From": "Joe Perches <joe@perches.com>",
        "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>",
        "Date": "Thu, 01 Nov 2018 00:03:31 -0700",
        "User-Agent": "Evolution 3.30.1-1build1 ",
        "Mime-Version": "1.0",
        "Subject": "[Intel-wired-lan] [PATCH] igb: Fix format with line continuation\n\twhitespace",
        "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\t\"David S. Miller\" <davem@davemloft.net>, linux-kernel@vger.kernel.org",
        "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": "The line continuation unintentionally adds whitespace so\ninstead use a coalesced format to remove the whitespace.\n\nMiscellanea:\n\no Use a more typical style for ternaries and arguments\n  for this logging message\n\nSigned-off-by: Joe Perches <joe@perches.com>\n---\n drivers/net/ethernet/intel/igb/igb_main.c | 13 ++++++-------\n 1 file changed, 6 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c\nindex 5df88ad8ac81..3a3410f03d04 100644\n--- a/drivers/net/ethernet/intel/igb/igb_main.c\n+++ b/drivers/net/ethernet/intel/igb/igb_main.c\n@@ -1850,13 +1850,12 @@ static void igb_config_tx_modes(struct igb_adapter *adapter, int queue)\n \t * configuration' in respect to these parameters.\n \t */\n \n-\tnetdev_dbg(netdev, \"Qav Tx mode: cbs %s, launchtime %s, queue %d \\\n-\t\t\t    idleslope %d sendslope %d hiCredit %d \\\n-\t\t\t    locredit %d\\n\",\n-\t\t   (ring->cbs_enable) ? \"enabled\" : \"disabled\",\n-\t\t   (ring->launchtime_enable) ? \"enabled\" : \"disabled\", queue,\n-\t\t   ring->idleslope, ring->sendslope, ring->hicredit,\n-\t\t   ring->locredit);\n+\tnetdev_dbg(netdev, \"Qav Tx mode: cbs %s, launchtime %s, queue %d idleslope %d sendslope %d hiCredit %d locredit %d\\n\",\n+\t\t   ring->cbs_enable ? \"enabled\" : \"disabled\",\n+\t\t   ring->launchtime_enable ? \"enabled\" : \"disabled\",\n+\t\t   queue,\n+\t\t   ring->idleslope, ring->sendslope,\n+\t\t   ring->hicredit, ring->locredit);\n }\n \n static int igb_save_txtime_params(struct igb_adapter *adapter, int queue,\n",
    "prefixes": []
}