ia64/linux-2.6.18-xen.hg

changeset 887:85a4c18ad9aa

linux/blktap2: fix compiler warnings

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri May 29 09:16:37 2009 +0100 (2009-05-29)
parents 3e01555dd227
children 9090872bac23
files drivers/xen/blktap2/device.c drivers/xen/blktap2/sysfs.c
line diff
     1.1 --- a/drivers/xen/blktap2/device.c	Thu May 28 10:05:02 2009 +0100
     1.2 +++ b/drivers/xen/blktap2/device.c	Fri May 29 09:16:37 2009 +0100
     1.3 @@ -162,7 +162,7 @@ blktap_map_uaddr_fn(pte_t *ptep, struct 
     1.4  {
     1.5  	pte_t *pte = (pte_t *)data;
     1.6  
     1.7 -	BTDBG("ptep %p -> %012llx\n", ptep, pte_val(*pte));
     1.8 +	BTDBG("ptep %p -> %012llx\n", ptep, (unsigned long long)pte_val(*pte));
     1.9  	set_pte(ptep, *pte);
    1.10  	return 0;
    1.11  }
     2.1 --- a/drivers/xen/blktap2/sysfs.c	Thu May 28 10:05:02 2009 +0100
     2.2 +++ b/drivers/xen/blktap2/sysfs.c	Fri May 29 09:16:37 2009 +0100
     2.3 @@ -188,7 +188,7 @@ blktap_sysfs_resume_device(struct class_
     2.4  out:
     2.5  	blktap_sysfs_exit(tap);
     2.6  
     2.7 -	BTDBG("returning %d\n", (err ? err : size));
     2.8 +	BTDBG("returning %zd\n", (err ? err : size));
     2.9  	return (err ? err : size);
    2.10  }
    2.11