projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c0eee3
)
IB/ipath: Use printf extension %pR for struct resource
author
Joe Perches
<joe@perches.com>
Tue, 11 Jan 2011 01:41:50 +0000
(17:41 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Tue, 11 Jan 2011 01:41:50 +0000
(17:41 -0800)
Using %pR standardizes the struct resource output.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_driver.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/ipath/ipath_driver.c
b/drivers/infiniband/hw/ipath/ipath_driver.c
index 765f0fc1da760317ef67fdab8a833d7677bf5b8b..b33f0457a1ff3139017189463d87a6f1e9cc6a9d 100644
(file)
--- a/
drivers/infiniband/hw/ipath/ipath_driver.c
+++ b/
drivers/infiniband/hw/ipath/ipath_driver.c
@@
-530,9
+530,8
@@
static int __devinit ipath_init_one(struct pci_dev *pdev,
for (j = 0; j < 6; j++) {
if (!pdev->resource[j].start)
continue;
- ipath_cdbg(VERBOSE, "BAR %d start %llx, end %llx, len %llx\n",
- j, (unsigned long long)pdev->resource[j].start,
- (unsigned long long)pdev->resource[j].end,
+ ipath_cdbg(VERBOSE, "BAR %d %pR, len %llx\n",
+ j, &pdev->resource[j],
(unsigned long long)pci_resource_len(pdev, j));
}