[PATCH 11/14] drivers/rapidio: Use printf extension %pR for struct resource

From: Joe Perches
Date: Fri Nov 12 2010 - 16:39:09 EST


Using %pR standardizes the struct resource output.

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
drivers/rapidio/rio.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/rapidio/rio.c b/drivers/rapidio/rio.c
index 7b5080c..5b7facd 100644
--- a/drivers/rapidio/rio.c
+++ b/drivers/rapidio/rio.c
@@ -1162,8 +1162,8 @@ int __devinit rio_init_mports(void)
resource_size(&port->iores),
port->name)) {
printk(KERN_ERR
- "RIO: Error requesting master port region 0x%016llx-0x%016llx\n",
- (u64)port->iores.start, (u64)port->iores.end);
+ "RIO: Error requesting master port region %pR\n",
+ &port->iores);
rc = -ENOMEM;
goto out;
}
--
1.7.3.1.g432b3.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/