lkml.org 
[lkml]   [2002]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[warnings] [6/8] fix mismatched function type in arch/i386/kernel/ioapic.c
Change the function return type so as to match the required initcall
prototype. Alan, this is yours to ack.

===== arch/i386/kernel/io_apic.c 1.33 vs edited =====
--- 1.33/arch/i386/kernel/io_apic.c Wed Nov 20 07:20:10 2002
+++ edited/arch/i386/kernel/io_apic.c Thu Dec 5 01:18:11 2002
@@ -1749,10 +1749,11 @@
* APIC bugs then we can allow the modify fast path
*/

-static void __init io_apic_bug_finalize(void)
+static int __init io_apic_bug_finalize(void)
{
if(sis_apic_bug == -1)
sis_apic_bug = 0;
+ return 0;
}

late_initcall(io_apic_bug_finalize);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.067 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site