Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/554129/?format=api
{ "id": 554129, "url": "http://patchwork.ozlabs.org/api/patches/554129/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20151208235111.125830.76769.stgit@bwallan-cwp1.jf.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": "<20151208235111.125830.76769.stgit@bwallan-cwp1.jf.intel.com>", "list_archive_url": null, "date": "2015-12-08T23:51:11", "name": "fm10k: use true/false for boolean get_host_state", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "5ef7e0be2076f707f77f7bc3b95a2b1edd6d7c30", "submitter": { "id": 503, "url": "http://patchwork.ozlabs.org/api/people/503/?format=api", "name": "Allan, Bruce W", "email": "bruce.w.allan@intel.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/20151208235111.125830.76769.stgit@bwallan-cwp1.jf.intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/554129/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/554129/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 2DF2A1402B4\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 9 Dec 2015 10:51:18 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 5F51A8C7A0;\n\tTue, 8 Dec 2015 23:51:17 +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 ywm58q9CYnJv; Tue, 8 Dec 2015 23:51:15 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 463948C013;\n\tTue, 8 Dec 2015 23:51:15 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 8B97A1BFC09\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Dec 2015 23:51:14 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 863B58C789\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Dec 2015 23:51:14 +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 8GGIBcXhlWjg for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Dec 2015 23:51:13 +0000 (UTC)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 57E298C013\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Dec 2015 23:51:13 +0000 (UTC)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby fmsmga102.fm.intel.com with ESMTP; 08 Dec 2015 15:51:10 -0800", "from bwallan-cwp1.jf.intel.com (HELO bwallan-cwp1)\n\t([10.166.136.47])\n\tby orsmga001.jf.intel.com with ESMTP; 08 Dec 2015 15:51:10 -0800", "from bwallan-cwp1.jf.intel.com (localhost [127.0.0.1])\n\tby bwallan-cwp1 (8.15.2/8.15.1) with ESMTP id tB8NpB7J125852\n\tfor <intel-wired-lan@lists.osuosl.org>; Tue, 8 Dec 2015 15:51:11 -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.20,401,1444719600\"; d=\"scan'208\";a=\"837179632\"", "From": "Bruce Allan <bruce.w.allan@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Tue, 08 Dec 2015 15:51:11 -0800", "Message-ID": "<20151208235111.125830.76769.stgit@bwallan-cwp1.jf.intel.com>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH] fm10k: use true/false for boolean\n\tget_host_state", "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": "Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>\n---\n drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_pci.c b/drivers/net/ethernet/intel/fm10k/fm10k_pci.c\nindex 9c6ed88..4eb7a6f 100644\n--- a/drivers/net/ethernet/intel/fm10k/fm10k_pci.c\n+++ b/drivers/net/ethernet/intel/fm10k/fm10k_pci.c\n@@ -912,7 +912,7 @@ static irqreturn_t fm10k_msix_mbx_vf(int __always_unused irq, void *data)\n \t\tfm10k_mbx_unlock(interface);\n \t}\n \n-\thw->mac.get_host_state = 1;\n+\thw->mac.get_host_state = true;\n \tfm10k_service_event_schedule(interface);\n \n \treturn IRQ_HANDLED;\n@@ -1128,7 +1128,7 @@ static irqreturn_t fm10k_msix_mbx_pf(int __always_unused irq, void *data)\n \t}\n \n \t/* we should validate host state after interrupt event */\n-\thw->mac.get_host_state = 1;\n+\thw->mac.get_host_state = true;\n \n \t/* validate host state, and handle VF mailboxes in the service task */\n \tfm10k_service_event_schedule(interface);\n@@ -1635,7 +1635,7 @@ void fm10k_up(struct fm10k_intfc *interface)\n \tnetif_tx_start_all_queues(interface->netdev);\n \n \t/* kick off the service timer now */\n-\thw->mac.get_host_state = 1;\n+\thw->mac.get_host_state = true;\n \tmod_timer(&interface->service_timer, jiffies);\n }\n \n", "prefixes": [] }