Commit 1eba27e8 authored by Joe Perches's avatar Joe Perches Committed by Roland Dreier

IB/ipath: Use printf extension %pR for struct resource

Using %pR standardizes the struct resource output.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 3c0eee3f
...@@ -530,9 +530,8 @@ static int __devinit ipath_init_one(struct pci_dev *pdev, ...@@ -530,9 +530,8 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,
for (j = 0; j < 6; j++) { for (j = 0; j < 6; j++) {
if (!pdev->resource[j].start) if (!pdev->resource[j].start)
continue; continue;
ipath_cdbg(VERBOSE, "BAR %d start %llx, end %llx, len %llx\n", ipath_cdbg(VERBOSE, "BAR %d %pR, len %llx\n",
j, (unsigned long long)pdev->resource[j].start, j, &pdev->resource[j],
(unsigned long long)pdev->resource[j].end,
(unsigned long long)pci_resource_len(pdev, j)); (unsigned long long)pci_resource_len(pdev, j));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment