WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] PATCH: fix compiler warning on noirqdebug_setup

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] PATCH: fix compiler warning on noirqdebug_setup
From: Rik van Riel <riel@xxxxxxxxxx>
Date: Wed, 8 Dec 2004 12:52:37 -0500 (EST)
Delivery-date: Wed, 08 Dec 2004 17:53:28 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
  CC      arch/xen/i386/kernel/irq.o
arch/xen/i386/kernel/irq.c:276: warning: static declaration of 
'noirqdebug_setup' follows non-static declaration
include/asm/irq.h:64: warning: previous declaration of 'noirqdebug_setup' was 
here

Apparently this function might even be called from drivers/pci/quirks.c.

--- linux-2.6.9/arch/xen/i386/kernel/irq.c.warn 2004-12-08 12:49:19.104521386 
-0500
+++ linux-2.6.9/arch/xen/i386/kernel/irq.c      2004-12-08 12:49:29.115934054 
-0500
@@ -272,7 +272,7 @@

 static int noirqdebug;

-static int __init noirqdebug_setup(char *str)
+int __init noirqdebug_setup(char *str)
 {
        noirqdebug = 1;
        printk("IRQ lockup detection disabled\n");


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>