From: Andrew Morton Date: Wed, 28 Jan 2004 07:54:15 +0000 (-0800) Subject: [PATCH] Fix two warnings on x86-64 X-Git-Tag: v2.6.2-rc3~25^2~4 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=fa61a25f510539a0c550671844bbd2050697d93b;p=history.git [PATCH] Fix two warnings on x86-64 From: Andi Kleen Just fix two warnings on x86-64 that were recently introduced (one by me and the other by the sort extable changes) --- diff --git a/arch/x86_64/mm/extable.c b/arch/x86_64/mm/extable.c index 39f7d6df6978..7e039db623a0 100644 --- a/arch/x86_64/mm/extable.c +++ b/arch/x86_64/mm/extable.c @@ -55,5 +55,4 @@ void sort_extable(struct exception_table_entry *start, } } } while (change != 0); - return 0; } diff --git a/arch/x86_64/mm/k8topology.c b/arch/x86_64/mm/k8topology.c index 37f31b397d7b..2f909cd0d65a 100644 --- a/arch/x86_64/mm/k8topology.c +++ b/arch/x86_64/mm/k8topology.c @@ -75,7 +75,7 @@ int __init k8_scan_nodes(unsigned long start, unsigned long end) continue; } if (nodeid >= numnodes) { - printk("Ignoring excess node %d (%x:%x)\n", nodeid, + printk("Ignoring excess node %d (%lx:%lx)\n", nodeid, base, limit); continue; }