Skip to contentSkip to conversation

Floppy compile warning

PATCH In review Tom 'spot' Callaway 1 participant 1 message Dec 22, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 Floppy compile warning

Squelch the floppy compile warning:

include/asm/floppy.h: In function `sun_fd_request_irq':
include/asm/floppy.h:276: warning: passing arg 2 of `request_fast_irq' from incompatible pointer type

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE Red Hat Sales Engineer || Aurora Linux Project Leader

"If you are going through hell, keep going."
- Sir Winston Churchill

include/asm-sparc/floppy.h renamed from include/asm-sparc/floppy.h.BAD +1 -1
@@ -264,7 +264,7 @@ static __inline__ void sun_fd_enable_dma
 }
 
 /* Our low-level entry point in arch/sparc/kernel/entry.S */
-extern void floppy_hardint(int irq, void *unused, struct pt_regs *regs);
+extern irqreturn_t floppy_hardint(int irq, void *unused, struct pt_regs *regs);
 
 static int sun_fd_request_irq(void)
 {