get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 486546,
    "url": "http://patchwork.ozlabs.org/api/patches/486546/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20150619023812.1345.75383.stgit@ahduyck-vm-fedora22/",
    "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": "<20150619023812.1345.75383.stgit@ahduyck-vm-fedora22>",
    "list_archive_url": null,
    "date": "2015-06-19T02:41:10",
    "name": "[v2] fm10k: Report MAC address on driver load",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a62e78e01c8c8ea6a30206e304093d23672e3af0",
    "submitter": {
        "id": 64958,
        "url": "http://patchwork.ozlabs.org/api/people/64958/?format=api",
        "name": "Alexander Duyck",
        "email": "alexander.h.duyck@redhat.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/20150619023812.1345.75383.stgit@ahduyck-vm-fedora22/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/486546/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/486546/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\tby ozlabs.org (Postfix) with ESMTP id F259E14029C\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 19 Jun 2015 12:41:15 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 355B78D756;\n\tFri, 19 Jun 2015 02:41:15 +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 Uxw-iW0Ca9Fm; Fri, 19 Jun 2015 02:41:14 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9C4598FEA8;\n\tFri, 19 Jun 2015 02:41:14 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 3477E1C2354\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 19 Jun 2015 02:41:13 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 2FFBBA3D4F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 19 Jun 2015 02:41:13 +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 c6kCc1pRW1wt for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 19 Jun 2015 02:41:12 +0000 (UTC)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id CB9D1A3E1D\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 19 Jun 2015 02:41:11 +0000 (UTC)",
            "from int-mx13.intmail.prod.int.phx2.redhat.com\n\t(int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26])\n\tby mx1.redhat.com (Postfix) with ESMTPS id BBD55C6A04;\n\tFri, 19 Jun 2015 02:41:10 +0000 (UTC)",
            "from [192.168.122.149] (vpn-230-151.phx2.redhat.com [10.3.230.151])\n\tby int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with\n\tESMTP id t5J2fA5i022680; Thu, 18 Jun 2015 22:41:10 -0400"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "Alexander Duyck <alexander.h.duyck@redhat.com>",
        "To": "netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org,\n\tjeffrey.t.kirsher@intel.com",
        "Date": "Thu, 18 Jun 2015 19:41:10 -0700",
        "Message-ID": "<20150619023812.1345.75383.stgit@ahduyck-vm-fedora22>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.68 on 10.5.11.26",
        "Subject": "[Intel-wired-lan] [PATCH v2] fm10k: Report MAC address on driver\n\tload",
        "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>",
        "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": "This change adds the MAC address to the list of values recorded on driver\nload.  The MAC address represents the serial number of the unit and allows\nus to track the value should a card be replaced in a system.\n\nThe log message should now be similar in output to that of ixgbe.\n\nSigned-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>\n---\n\nv2: Moved printing of MAC onto separate line similar to ixgbe.\n\n(Hopefully this works for you Jeff.  I took at look at the patch and just\n moved the bit I needed down.  I figured since this block hasn't changed I\n should be able to get away with just doing this instead of pulling and\n rebasing off of your tree. )\n\n drivers/net/ethernet/intel/fm10k/fm10k_pci.c |    3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_pci.c b/drivers/net/ethernet/intel/fm10k/fm10k_pci.c\nindex ce53ff25f88d..62a584f633d8 100644\n--- a/drivers/net/ethernet/intel/fm10k/fm10k_pci.c\n+++ b/drivers/net/ethernet/intel/fm10k/fm10k_pci.c\n@@ -1843,6 +1843,9 @@ static int fm10k_probe(struct pci_dev *pdev,\n \t/* print warning for non-optimal configurations */\n \tfm10k_slot_warn(interface);\n \n+\t/* report MAC address for logging */\n+\tdev_info(&pdev->dev, \"%pM\\n\", netdev->dev_addr);\n+\n \t/* enable SR-IOV after registering netdev to enforce PF/VF ordering */\n \tfm10k_iov_configure(pdev, 0);\n \n",
    "prefixes": [
        "v2"
    ]
}