aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-06-09 17:20:35 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-06-09 17:20:35 +1000
commit348dacfaca9f139db2603f5c2e78d87e21938ca6 (patch)
tree110a98f7df388c2b5c4f6a53acfe289e640ceac8
parentf46c1e506d199332b0f9741278c8ec35b3e39135 (diff)
downloadskiboot-348dacfaca9f139db2603f5c2e78d87e21938ca6.zip
skiboot-348dacfaca9f139db2603f5c2e78d87e21938ca6.tar.gz
skiboot-348dacfaca9f139db2603f5c2e78d87e21938ca6.tar.bz2
Fixup whitespace and build warning/error
Fixes: f46c1e506d199332b0f9741278c8ec35b3e39135 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--core/pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pci.c b/core/pci.c
index 9c84b2f..98f7970 100644
--- a/core/pci.c
+++ b/core/pci.c
@@ -158,10 +158,10 @@ static struct pci_device *pci_scan_one(struct phb *phb, struct pci_device *paren
PCIDBG(phb, bdfn, "Probe success after CRS\n");
/* Perform a dummy write to the device in order for it to
-  * capture it's own bus number, so any subsequent error
-  * messages will be properly tagged
-  */
- pci_cfg_write32(phb, bdfn, 0, &vdid);
+ * capture it's own bus number, so any subsequent error
+ * messages will be properly tagged
+ */
+ pci_cfg_write32(phb, bdfn, 0, vdid);
pd = zalloc(sizeof(struct pci_device));
if (!pd) {