mirror of https://gitee.com/openkylin/linux.git
ne3210.c fix compilation warning for phys_addr_t
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
f537a53da9
commit
76a856397a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue