[ewg] [PATCH] OFED/kernel_addons - fix compiler warnings in 2.6.9_U5

Arthur Jones arthur.jones at qlogic.com
Fri Dec 14 15:29:57 PST 2007


hi vlad, here is a patch which fixes a couple
compiler warnings for me on 2.6.9_U5...

arthur
-------------- next part --------------
commit 3440f69777a4d29590d437308f364f22ada84e9b
Author: Arthur Jones <arthur.jones at qlogic.com>
Date:   Thu Dec 13 12:07:40 2007 -0800

    OFED/kernel_addons - fix compiler warnings in 2.6.9_U5 build
    
    request irq from outside does not have struct pt_regs *,
    so take that parameter out.  this fixes a couple compiler
    warnings that i see in 2.6.9_U5 builds
    
    Signed-off-by: Arthur Jones <arthur.jones at qlogic.com>

diff --git a/kernel_addons/backport/2.6.9_U5/include/linux/interrupt.h b/kernel_addons/backport/2.6.9_U5/include/linux/interrupt.h
index ffddfa0..5252f7b 100644
--- a/kernel_addons/backport/2.6.9_U5/include/linux/interrupt.h
+++ b/kernel_addons/backport/2.6.9_U5/include/linux/interrupt.h
@@ -4,7 +4,7 @@
 
 static inline int 
 backport_request_irq(unsigned int irq,
-                     irqreturn_t (*handler)(int, void *, struct pt_regs *),
+                     irqreturn_t (*handler)(int, void *),
                      unsigned long flags, const char *dev_name, void *dev_id)
 {
 	return request_irq(irq, 


More information about the ewg mailing list