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 18:29:02 +1000
commit627666c4d71f8210abc971d954b19af0382d024c (patch)
tree7bd78709bc630a1a5444e6b7a1ec80ce14729742
parentcf65cec520068f1910155eb7e252a0c6965bb2c8 (diff)
downloadskiboot-627666c4d71f8210abc971d954b19af0382d024c.zip
skiboot-627666c4d71f8210abc971d954b19af0382d024c.tar.gz
skiboot-627666c4d71f8210abc971d954b19af0382d024c.tar.bz2
Fixup whitespace and build warning/error
Fixes: f46c1e506d199332b0f9741278c8ec35b3e39135 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> (cherry picked from commit 348dacfaca9f139db2603f5c2e78d87e21938ca6)
-rw-r--r--core/pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pci.c b/core/pci.c
index 931c3dd..cd91b27 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) {