ne3210.c fix compilation warning for phys_addr_t
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Wed, 11 Feb 2009 18:58:09 +0000 (00:28 +0530)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Feb 2009 20:01:33 +0000 (21:01 +0100)
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/net/ne3210.c

index fac43fd6fc87782a42455b852cec62a56333849f..6a843f7350ab10982506df13116b9b5c48d02b40 100644 (file)
@@ -150,7 +150,8 @@ static int __init ne3210_eisa_probe (struct device *device)
                if (phys_mem < virt_to_phys(high_memory)) {
                        printk(KERN_CRIT "ne3210.c: Card RAM overlaps with normal memory!!!\n");
                        printk(KERN_CRIT "ne3210.c: Use EISA SCU to set card memory below 1MB,\n");
-                       printk(KERN_CRIT "ne3210.c: or to an address above 0x%lx.\n", virt_to_phys(high_memory));
+                       printk(KERN_CRIT "ne3210.c: or to an address above 0x%llx.\n",
+                               (u64)virt_to_phys(high_memory));
                        printk(KERN_CRIT "ne3210.c: Driver NOT installed.\n");
                        retval = -EINVAL;
                        goto out3;