Messages in this thread Patch in this message | | | From | Joe Perches <> | Subject | [PATCH 11/14] drivers/rapidio: Use printf extension %pR for struct resource | Date | Fri, 12 Nov 2010 13:38:01 -0800 |
| |
Using %pR standardizes the struct resource output.
Signed-off-by: Joe Perches <joe@perches.com> --- 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
| |