Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/810250/?format=api
{ "id": 810250, "url": "http://patchwork.ozlabs.org/api/patches/810250/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20170905182721.27030.75771.stgit@bhelgaas-glaptop.roam.corp.google.com/", "project": { "id": 28, "url": "http://patchwork.ozlabs.org/api/projects/28/?format=api", "name": "Linux PCI development", "link_name": "linux-pci", "list_id": "linux-pci.vger.kernel.org", "list_email": "linux-pci@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170905182721.27030.75771.stgit@bhelgaas-glaptop.roam.corp.google.com>", "list_archive_url": null, "date": "2017-09-05T18:27:21", "name": "[4/4] PCI: xgene: Clean up whitespace", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "321bd99f249fbb022274b0cd8936158ab7f524b5", "submitter": { "id": 7584, "url": "http://patchwork.ozlabs.org/api/people/7584/?format=api", "name": "Bjorn Helgaas", "email": "bhelgaas@google.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20170905182721.27030.75771.stgit@bhelgaas-glaptop.roam.corp.google.com/mbox/", "series": [ { "id": 1628, "url": "http://patchwork.ozlabs.org/api/series/1628/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=1628", "date": "2017-09-05T18:26:52", "name": "iproc/xgene PCIe cap & whitespace cleanup", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1628/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/810250/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/810250/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linux-pci-owner@vger.kernel.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-pci-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "mail.kernel.org; dmarc=fail (p=reject dis=none)\n\theader.from=google.com", "mail.kernel.org;\n\tspf=none smtp.mailfrom=helgaas@kernel.org" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmwDY2XmFz9sCZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 6 Sep 2017 04:27:25 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752355AbdIES1Y (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tTue, 5 Sep 2017 14:27:24 -0400", "from mail.kernel.org ([198.145.29.99]:59632 \"EHLO mail.kernel.org\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1752345AbdIES1Y (ORCPT <rfc822;linux-pci@vger.kernel.org>);\n\tTue, 5 Sep 2017 14:27:24 -0400", "from localhost (unknown [69.71.4.159])\n\t(using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits))\n\t(No client certificate requested)\n\tby mail.kernel.org (Postfix) with ESMTPSA id 445DE21B64;\n\tTue, 5 Sep 2017 18:27:23 +0000 (UTC)" ], "DMARC-Filter": "OpenDMARC Filter v1.3.2 mail.kernel.org 445DE21B64", "Subject": "[PATCH 4/4] PCI: xgene: Clean up whitespace", "From": "Bjorn Helgaas <bhelgaas@google.com>", "To": "Jon Mason <jonmason@broadcom.com>, Ray Jui <rjui@broadcom.com>,\n\tOza Pawandeep <oza.oza@broadcom.com>, Tanmay Inamdar <tinamdar@apm.com>,\n\tScott Branden <sbranden@broadcom.com>", "Cc": "linux-pci@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com", "Date": "Tue, 05 Sep 2017 13:27:21 -0500", "Message-ID": "<20170905182721.27030.75771.stgit@bhelgaas-glaptop.roam.corp.google.com>", "In-Reply-To": "<20170905181602.27030.65715.stgit@bhelgaas-glaptop.roam.corp.google.com>", "References": "<20170905181602.27030.65715.stgit@bhelgaas-glaptop.roam.corp.google.com>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Sender": "linux-pci-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<linux-pci.vger.kernel.org>", "X-Mailing-List": "linux-pci@vger.kernel.org" }, "content": "Use tabs (not spaces) for indentation. No functional change intended.\n\nSigned-off-by: Bjorn Helgaas <bhelgaas@google.com>\n---\n drivers/pci/host/pci-xgene.c | 37 ++++++++++++++++++-------------------\n 1 file changed, 18 insertions(+), 19 deletions(-)", "diff": "diff --git a/drivers/pci/host/pci-xgene.c b/drivers/pci/host/pci-xgene.c\nindex af47ebd70e22..431dad35a5a9 100644\n--- a/drivers/pci/host/pci-xgene.c\n+++ b/drivers/pci/host/pci-xgene.c\n@@ -160,7 +160,7 @@ static bool xgene_pcie_hide_rc_bars(struct pci_bus *bus, int offset)\n }\n \n static void __iomem *xgene_pcie_map_bus(struct pci_bus *bus, unsigned int devfn,\n-\t\t\t int offset)\n+\t\t\t\t\tint offset)\n {\n \tif ((pci_is_root_bus(bus) && devfn != 0) ||\n \t xgene_pcie_hide_rc_bars(bus, offset))\n@@ -265,12 +265,12 @@ static int xgene_v1_pcie_ecam_init(struct pci_config_window *cfg)\n }\n \n struct pci_ecam_ops xgene_v1_pcie_ecam_ops = {\n-\t.bus_shift = 16,\n-\t.init = xgene_v1_pcie_ecam_init,\n-\t.pci_ops = {\n-\t\t.map_bus = xgene_pcie_map_bus,\n-\t\t.read = xgene_pcie_config_read32,\n-\t\t.write = pci_generic_config_write,\n+\t.bus_shift\t= 16,\n+\t.init\t\t= xgene_v1_pcie_ecam_init,\n+\t.pci_ops\t= {\n+\t\t.map_bus\t= xgene_pcie_map_bus,\n+\t\t.read\t\t= xgene_pcie_config_read32,\n+\t\t.write\t\t= pci_generic_config_write,\n \t}\n };\n \n@@ -280,12 +280,12 @@ static int xgene_v2_pcie_ecam_init(struct pci_config_window *cfg)\n }\n \n struct pci_ecam_ops xgene_v2_pcie_ecam_ops = {\n-\t.bus_shift = 16,\n-\t.init = xgene_v2_pcie_ecam_init,\n-\t.pci_ops = {\n-\t\t.map_bus = xgene_pcie_map_bus,\n-\t\t.read = xgene_pcie_config_read32,\n-\t\t.write = pci_generic_config_write,\n+\t.bus_shift\t= 16,\n+\t.init\t\t= xgene_v2_pcie_ecam_init,\n+\t.pci_ops\t= {\n+\t\t.map_bus\t= xgene_pcie_map_bus,\n+\t\t.read\t\t= xgene_pcie_config_read32,\n+\t\t.writei\t\t= pci_generic_config_write,\n \t}\n };\n #endif\n@@ -318,7 +318,7 @@ static u64 xgene_pcie_set_ib_mask(struct xgene_pcie_port *port, u32 addr,\n }\n \n static void xgene_pcie_linkup(struct xgene_pcie_port *port,\n-\t\t\t\t u32 *lanes, u32 *speed)\n+\t\t\t u32 *lanes, u32 *speed)\n {\n \tu32 val32;\n \n@@ -593,8 +593,7 @@ static void xgene_pcie_clear_config(struct xgene_pcie_port *port)\n \t\txgene_pcie_writel(port, i, 0);\n }\n \n-static int xgene_pcie_setup(struct xgene_pcie_port *port,\n-\t\t\t struct list_head *res,\n+static int xgene_pcie_setup(struct xgene_pcie_port *port, struct list_head *res,\n \t\t\t resource_size_t io_base)\n {\n \tstruct device *dev = port->dev;\n@@ -706,9 +705,9 @@ static const struct of_device_id xgene_pcie_match_table[] = {\n \n static struct platform_driver xgene_pcie_driver = {\n \t.driver = {\n-\t\t .name = \"xgene-pcie\",\n-\t\t .of_match_table = of_match_ptr(xgene_pcie_match_table),\n-\t\t .suppress_bind_attrs = true,\n+\t\t.name = \"xgene-pcie\",\n+\t\t.of_match_table = of_match_ptr(xgene_pcie_match_table),\n+\t\t.suppress_bind_attrs = true,\n \t},\n \t.probe = xgene_pcie_probe_bridge,\n };\n", "prefixes": [ "4/4" ] }