Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933011Ab0KLVjD (ORCPT ); Fri, 12 Nov 2010 16:39:03 -0500 Received: from mail.perches.com ([173.55.12.10]:1028 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932944Ab0KLViS (ORCPT ); Fri, 12 Nov 2010 16:38:18 -0500 From: Joe Perches To: Jiri Kosina Cc: Matt Porter , linux-kernel@vger.kernel.org Subject: [PATCH 11/14] drivers/rapidio: Use printf extension %pR for struct resource Date: Fri, 12 Nov 2010 13:38:01 -0800 Message-Id: X-Mailer: git-send-email 1.7.3.1.g432b3.dirty In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 996 Lines: 30 Using %pR standardizes the struct resource output. Signed-off-by: Joe Perches --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/