[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    [PATCH] acpiphp_ibm.c 64bit portability
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2004-08-31 23:42:01
Message-ID: 200409010307.i81375A4005750 () hera ! kernel ! org
[Download RAW message or body]

ChangeSet 1.1872, 2004/08/31 16:42:01-07:00, viro@www.linux.org.uk

	[PATCH] acpiphp_ibm.c 64bit portability
	
	Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
	Signed-off-by: Linus Torvalds <torvalds@osdl.org>



 acpiphp_ibm.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


diff -Nru a/drivers/pci/hotplug/acpiphp_ibm.c b/drivers/pci/hotplug/acpiphp_ibm.c
--- a/drivers/pci/hotplug/acpiphp_ibm.c	2004-08-31 20:07:14 -07:00
+++ b/drivers/pci/hotplug/acpiphp_ibm.c	2004-08-31 20:07:14 -07:00
@@ -340,7 +340,7 @@
 	int bytes_read = -EINVAL;
 	char *table = NULL;
 	
-	dbg("%s: pos = %d, size = %d\n", __FUNCTION__, (int)pos, size);
+	dbg("%s: pos = %d, size = %zd\n", __FUNCTION__, (int)pos, size);
 
 	if (pos == 0) {
 		bytes_read = ibm_get_table_from_acpi(&table);
@@ -383,8 +383,8 @@
 	if(info.current_status && (info.valid & ACPI_VALID_HID) &&
 			(!strcmp(info.hardware_id.value, IBM_HARDWARE_ID1) ||
 			!strcmp(info.hardware_id.value, IBM_HARDWARE_ID2))) {
-		dbg("found hardware: %s, handle: %x\n", info.hardware_id.value,
-				(unsigned int)handle);
+		dbg("found hardware: %s, handle: %p\n", info.hardware_id.value,
+				handle);
 		*phandle = handle;
 		/* returning non-zero causes the search to stop
 		 * and returns this value to the caller of 
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic