get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 657969,
    "url": "http://patchwork.ozlabs.org/api/patches/657969/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1470870442-14539-1-git-send-email-xypron.glpk@gmx.de/",
    "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": "<1470870442-14539-1-git-send-email-xypron.glpk@gmx.de>",
    "list_archive_url": null,
    "date": "2016-08-10T23:07:22",
    "name": "[1/1,v3] net: i40e: use matching format identifiers",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "00a76329447c7d558628f46c9e448346bc152441",
    "submitter": {
        "id": 61270,
        "url": "http://patchwork.ozlabs.org/api/people/61270/?format=api",
        "name": "Heinrich Schuchardt",
        "email": "xypron.glpk@gmx.de"
    },
    "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/1470870442-14539-1-git-send-email-xypron.glpk@gmx.de/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/657969/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/657969/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@lists.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"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 3s8myc2q8xz9sxR\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 11 Aug 2016 09:07:52 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id C372C8A2A8;\n\tWed, 10 Aug 2016 23:07:50 +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 dv76Q794T4Ol; Wed, 10 Aug 2016 23:07:49 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id DF3AE8ADC9;\n\tWed, 10 Aug 2016 23:07:49 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id DFC511C0B72\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 10 Aug 2016 23:07:48 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id DB44E8A445\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 10 Aug 2016 23:07:48 +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 m3dYTMyWaYr9 for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 10 Aug 2016 23:07:47 +0000 (UTC)",
            "from mout.gmx.net (mout.gmx.net [212.227.17.20])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 4BD9586E67\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 10 Aug 2016 23:07:47 +0000 (UTC)",
            "from workstation4.fritz.box ([109.91.48.91]) by mail.gmx.com\n\t(mrgmx101) with ESMTPSA (Nemesis) id 0Lfolq-1ar5hI39Vi-00pMeb;\n\tThu, 11 Aug 2016 01:07:30 +0200"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "Heinrich Schuchardt <xypron.glpk@gmx.de>",
        "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>",
        "Date": "Thu, 11 Aug 2016 01:07:22 +0200",
        "Message-Id": "<1470870442-14539-1-git-send-email-xypron.glpk@gmx.de>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": "<1470851448.2128.15.camel@intel.com>",
        "References": "<1470851448.2128.15.camel@intel.com>",
        "X-Provags-ID": "V03:K0:fKGvSBd727XeqE0SPPQe2uFPGzozqtFCJ04JcWEzMbMfwhUiNSV\n\tC4W+widwO1VUQbwnrZBqjBPvl7D8xV5NE5Ha3wIq4pfjAxU2L1EzXgIf1MVKjpfninsywhb\n\tSrXlZZr5674p8OqNMWWyYKTTs5729fZ18jHPUPKwY7N7O4do6wf10amLqJjxSN2IB9eXb7b\n\tGMwg+x9FFoNmmCZ+6wp3w==",
        "X-UI-Out-Filterresults": "notjunk:1; V01:K0:1x8teLP8oa8=:rr/K3YjtOdg0rLR2RtgG5f\n\tNfH31wh8vZHPn3qrJYqenenzGyUwRlPPZL/QuaSz/S16an2V6qvhC8GP2RUdYUD2hxpmEEIE6\n\t/2cZ7OvZK+mUJZG/I5+I/GRlOkhql3PwVSnW4E3Pgkdb2WQYHYDdaHxp1yBdfV+TV42Mf273D\n\tvqyvcJxE/x5vO1MwdLNUASoCCLsEdVeIwwxs5SX1lSKJmM20eB87IhXXPcmSrD9KUTVZ1CV6V\n\tNuyIi+uAQd7/1Vo+Xabm3htykXBrBTRReTgUHtd7zskOH4D31CbXSUSCZBPZZ37bsU7JfcyGg\n\tZIIrQM25vleXW1lk1Xi+vLYEogRLCzTHdvukUvW8bRa19hPxaSTVGQdq0a2cad79FwD2WVXDX\n\tJZI8LkhkGbXXgdpQb7Ebtk+F8mWXBfK/ZIn67DSqkAhkKijG4WLqpVpQh9ijSmr91VlVxLirF\n\tjrkBZaDKyMGtmmQ6D13EnIJMrETQnpNmX8uaA9VGAT92jwa/BJWje8RcpqWZ18VfXuva3hff1\n\thYkMdYrwEigIg74bO+eIBuEWVa+X1JKnn7CPdn6njF5g90B/ja7ub3VxFoXGMy4fZseg2IeL2\n\tZzr43Bb4E93Btzk/0IbODhTotT39XjdZQ3a7znEsLWr8roUwG4DHc39/E1jl1ZGS9oSJcOP9l\n\tsMlSS8JsjXp88JxX1DFRGwjXoK9A5HpA5gBCh+D9ObklU2jDHPstWB3VDftWlbqGNb8/oW7fO\n\tU92BTurJcAlzjFOQ+DblKKQVZx3HvVLDI/DHadj2v4ULB4gS0nDKBx2OpbU=",
        "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>,\n\tShannon Nelson <shannon.nelson@intel.com>, linux-kernel@vger.kernel.org, \n\tJohn Ronciak <john.ronciak@intel.com>, intel-wired-lan@lists.osuosl.org, \n\tnetdev@vger.kernel.org, David Miller <davem@davemloft.net>",
        "Subject": "[Intel-wired-lan] [PATCH 1/1 v3] net: i40e: use matching format\n\tidentifiers",
        "X-BeenThere": "intel-wired-lan@lists.osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>",
        "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>",
        "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>"
    },
    "content": "i is defined as int but output as %u several times.\nAdjust the format identifiers.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n\n---\n\nv3:\n\tfix typos in title, old title:\n\tnet: i10e: use matching format indentifiers\n\nv2:\n\tKeep definition of i as int.\n\n drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 26 +++++++++++++-------------\n 1 file changed, 13 insertions(+), 13 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\nindex c912e04..94ac712 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\n@@ -1560,13 +1560,13 @@ static void i40e_get_strings(struct net_device *netdev, u32 stringset,\n \t\t}\n #endif\n \t\tfor (i = 0; i < vsi->num_queue_pairs; i++) {\n-\t\t\tsnprintf(p, ETH_GSTRING_LEN, \"tx-%u.tx_packets\", i);\n+\t\t\tsnprintf(p, ETH_GSTRING_LEN, \"tx-%d.tx_packets\", i);\n \t\t\tp += ETH_GSTRING_LEN;\n-\t\t\tsnprintf(p, ETH_GSTRING_LEN, \"tx-%u.tx_bytes\", i);\n+\t\t\tsnprintf(p, ETH_GSTRING_LEN, \"tx-%d.tx_bytes\", i);\n \t\t\tp += ETH_GSTRING_LEN;\n-\t\t\tsnprintf(p, ETH_GSTRING_LEN, \"rx-%u.rx_packets\", i);\n+\t\t\tsnprintf(p, ETH_GSTRING_LEN, \"rx-%d.rx_packets\", i);\n \t\t\tp += ETH_GSTRING_LEN;\n-\t\t\tsnprintf(p, ETH_GSTRING_LEN, \"rx-%u.rx_bytes\", i);\n+\t\t\tsnprintf(p, ETH_GSTRING_LEN, \"rx-%d.rx_bytes\", i);\n \t\t\tp += ETH_GSTRING_LEN;\n \t\t}\n \t\tif (vsi != pf->vsi[pf->lan_vsi] || pf->hw.partition_id != 1)\n@@ -1581,16 +1581,16 @@ static void i40e_get_strings(struct net_device *netdev, u32 stringset,\n \t\t\t}\n \t\t\tfor (i = 0; i < I40E_MAX_TRAFFIC_CLASS; i++) {\n \t\t\t\tsnprintf(p, ETH_GSTRING_LEN,\n-\t\t\t\t\t \"veb.tc_%u_tx_packets\", i);\n+\t\t\t\t\t \"veb.tc_%d_tx_packets\", i);\n \t\t\t\tp += ETH_GSTRING_LEN;\n \t\t\t\tsnprintf(p, ETH_GSTRING_LEN,\n-\t\t\t\t\t \"veb.tc_%u_tx_bytes\", i);\n+\t\t\t\t\t \"veb.tc_%d_tx_bytes\", i);\n \t\t\t\tp += ETH_GSTRING_LEN;\n \t\t\t\tsnprintf(p, ETH_GSTRING_LEN,\n-\t\t\t\t\t \"veb.tc_%u_rx_packets\", i);\n+\t\t\t\t\t \"veb.tc_%d_rx_packets\", i);\n \t\t\t\tp += ETH_GSTRING_LEN;\n \t\t\t\tsnprintf(p, ETH_GSTRING_LEN,\n-\t\t\t\t\t \"veb.tc_%u_rx_bytes\", i);\n+\t\t\t\t\t \"veb.tc_%d_rx_bytes\", i);\n \t\t\t\tp += ETH_GSTRING_LEN;\n \t\t\t}\n \t\t}\n@@ -1601,23 +1601,23 @@ static void i40e_get_strings(struct net_device *netdev, u32 stringset,\n \t\t}\n \t\tfor (i = 0; i < I40E_MAX_USER_PRIORITY; i++) {\n \t\t\tsnprintf(p, ETH_GSTRING_LEN,\n-\t\t\t\t \"port.tx_priority_%u_xon\", i);\n+\t\t\t\t \"port.tx_priority_%d_xon\", i);\n \t\t\tp += ETH_GSTRING_LEN;\n \t\t\tsnprintf(p, ETH_GSTRING_LEN,\n-\t\t\t\t \"port.tx_priority_%u_xoff\", i);\n+\t\t\t\t \"port.tx_priority_%d_xoff\", i);\n \t\t\tp += ETH_GSTRING_LEN;\n \t\t}\n \t\tfor (i = 0; i < I40E_MAX_USER_PRIORITY; i++) {\n \t\t\tsnprintf(p, ETH_GSTRING_LEN,\n-\t\t\t\t \"port.rx_priority_%u_xon\", i);\n+\t\t\t\t \"port.rx_priority_%d_xon\", i);\n \t\t\tp += ETH_GSTRING_LEN;\n \t\t\tsnprintf(p, ETH_GSTRING_LEN,\n-\t\t\t\t \"port.rx_priority_%u_xoff\", i);\n+\t\t\t\t \"port.rx_priority_%d_xoff\", i);\n \t\t\tp += ETH_GSTRING_LEN;\n \t\t}\n \t\tfor (i = 0; i < I40E_MAX_USER_PRIORITY; i++) {\n \t\t\tsnprintf(p, ETH_GSTRING_LEN,\n-\t\t\t\t \"port.rx_priority_%u_xon_2_xoff\", i);\n+\t\t\t\t \"port.rx_priority_%d_xon_2_xoff\", i);\n \t\t\tp += ETH_GSTRING_LEN;\n \t\t}\n \t\t/* BUG_ON(p - data != I40E_STATS_LEN * ETH_GSTRING_LEN); */\n",
    "prefixes": [
        "1/1",
        "v3"
    ]
}