mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.5 patch] yam.c: return IRQ_NONE in error case
@ 2003-06-20  0:01 Adrian Bunk
  2003-06-20  4:34 ` Rusty Russell
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2003-06-20  0:01 UTC (permalink / raw)
  To: frible; +Cc: linux-kernel, linux-net, trivial

Please check whether the following patch to return IRQ_NONE in case of
errors is correct:

--- linux-2.5.72-mm2/drivers/net/hamradio/yam.c.old	2003-06-20 01:57:02.000000000 +0200
+++ linux-2.5.72-mm2/drivers/net/hamradio/yam.c	2003-06-20 01:57:41.000000000 +0200
@@ -742,7 +742,7 @@
 
 			if (--counter <= 0) {
 				printk(KERN_ERR "%s: too many irq iir=%d\n", dev->name, iir);
-				return;
+				return IRQ_NONE;
 			}
 			if (msr & TX_RDY) {
 				++yp->nb_mdint;


TIA
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-21 23:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-20  0:01 [2.5 patch] yam.c: return IRQ_NONE in error case Adrian Bunk
2003-06-20  4:34 ` Rusty Russell
2003-06-21 23:36   ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®