get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 750292,
    "url": "http://patchwork.ozlabs.org/api/patches/750292/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20170413063929.GA151102@ivytown2.lkp.intel.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": "<20170413063929.GA151102@ivytown2.lkp.intel.com>",
    "list_archive_url": null,
    "date": "2017-04-13T06:39:30",
    "name": "ixgbevf: fix boolreturn.cocci warnings",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": false,
    "hash": "b57ef9e1cbc26b1d1d3792915ccc63799d9b8e79",
    "submitter": {
        "id": 67315,
        "url": "http://patchwork.ozlabs.org/api/people/67315/?format=api",
        "name": "kernel test robot",
        "email": "lkp@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20170413063929.GA151102@ivytown2.lkp.intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/750292/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/750292/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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3w3WP30RHgz9sNn\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 13 Apr 2017 16:39:50 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 833FE304BC;\n\tThu, 13 Apr 2017 06:39:47 +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 7SuixXVhhNw8; Thu, 13 Apr 2017 06:39:46 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id E4683303C0;\n\tThu, 13 Apr 2017 06:39:45 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 0A4091C01CA\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 13 Apr 2017 06:39:45 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 039688A3C2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 13 Apr 2017 06:39: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 nyH9DGi+n80M for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 13 Apr 2017 06:39:44 +0000 (UTC)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 48D548A3C1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 13 Apr 2017 06:39:44 +0000 (UTC)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga105.fm.intel.com with ESMTP; 12 Apr 2017 23:39:43 -0700",
            "from bee.sh.intel.com (HELO bee) ([10.239.97.14])\n\tby orsmga003.jf.intel.com with ESMTP; 12 Apr 2017 23:39:42 -0700",
            "from kbuild by bee with local (Exim 4.84_2)\n\t(envelope-from <fengguang.wu@intel.com>)\n\tid 1cyYRp-000Jdu-13; Thu, 13 Apr 2017 14:41:41 +0800"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.37,193,1488873600\"; d=\"scan'208\";a=\"955581513\"",
        "Date": "Thu, 13 Apr 2017 14:39:30 +0800",
        "From": "kbuild test robot <lkp@intel.com>",
        "To": "Tony Nguyen <anthony.l.nguyen@intel.com>",
        "Message-ID": "<20170413063929.GA151102@ivytown2.lkp.intel.com>",
        "References": "<201704131424.ocJX3tao%fengguang.wu@intel.com>",
        "MIME-Version": "1.0",
        "Content-Disposition": "inline",
        "In-Reply-To": "<20170412202107.55834-3-anthony.l.nguyen@intel.com>",
        "User-Agent": "Mutt/1.5.23 (2014-03-12)",
        "X-SA-Exim-Connect-IP": "<locally generated>",
        "X-SA-Exim-Mail-From": "fengguang.wu@intel.com",
        "X-SA-Exim-Scanned": "No (on bee); SAEximRunCond expanded to false",
        "Cc": "intel-wired-lan@lists.osuosl.org, kbuild-all@01.org",
        "Subject": "[Intel-wired-lan] [PATCH] ixgbevf: fix boolreturn.cocci warnings",
        "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": "drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:1683:8-9: WARNING: return of 0/1 in function 'ixgbevf_init_rss_key' with return type bool\n\n Return statements in functions returning bool should use\n true/false instead of 1/0.\nGenerated by: scripts/coccinelle/misc/boolreturn.cocci\n\nCC: Tony Nguyen <anthony.l.nguyen@intel.com>\nSigned-off-by: Fengguang Wu <fengguang.wu@intel.com>\n---\n\n ixgbevf_main.c |    2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c\n+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c\n@@ -1680,7 +1680,7 @@ static inline bool ixgbevf_init_rss_key(\n \t\tadapter->rss_key = rss_key;\n \t}\n \n-\treturn 0;\n+\treturn false;\n }\n \n static void ixgbevf_setup_vfmrqc(struct ixgbevf_adapter *adapter)\n",
    "prefixes": []
}