From fa61a25f510539a0c550671844bbd2050697d93b Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 27 Jan 2004 23:54:15 -0800 Subject: [PATCH] [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) --- arch/x86_64/mm/extable.c | 1 - arch/x86_64/mm/k8topology.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86_64/mm/extable.c b/arch/x86_64/mm/extable.c index 39f7d6df69785..7e039db623a03 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 37f31b397d7b6..2f909cd0d65a9 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; } -- 2.53.0