lkml.org 
[lkml]   [2010]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 11/14] drivers/rapidio: Use printf extension %pR for struct resource
Date
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


\
 
 \ /
  Last update: 2010-11-12 22:41    [W:0.116 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site