Commit:     3ce32f5d12735b11c002057378879b3366f09825
Parent:     e389612deceea0816a8027fb2fcf68d5856c8d3a
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 17 16:02:07 2007 -0800
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Sun Feb 18 16:41:31 2007 +0000

    [MTD] [MAPS] netsc520 warning fix
    drivers/mtd/maps/netsc520.c: In function 'init_netsc520':
    drivers/mtd/maps/netsc520.c:97: warning: format '%lx' expects type 'long 
unsigned int', but argument 3 has type 'resource_size_t'
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
 drivers/mtd/maps/netsc520.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/maps/netsc520.c b/drivers/mtd/maps/netsc520.c
index ed21547..95dcab2 100644
--- a/drivers/mtd/maps/netsc520.c
+++ b/drivers/mtd/maps/netsc520.c
@@ -94,7 +94,9 @@ static struct mtd_info *mymtd;
 static int __init init_netsc520(void)
-       printk(KERN_NOTICE "NetSc520 flash device: 0x%lx at 0x%lx\n", 
netsc520_map.size, netsc520_map.phys);
+       printk(KERN_NOTICE "NetSc520 flash device: 0x%Lx at 0x%Lx\n",
+                       (unsigned long long)netsc520_map.size,
+                       (unsigned long long)netsc520_map.phys);
        netsc520_map.virt = ioremap_nocache(netsc520_map.phys, 
        if (!netsc520_map.virt) {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to