From: Michael Grzeschik Date: Mon, 29 Sep 2014 09:55:34 +0000 (+0200) Subject: ARCNET: return IRQ_NONE if the interface isn't running X-Git-Tag: v3.18-rc1~115^2~114^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=226ee6751541a958cd1ad982f5ba0f9affde6141;p=thirdparty%2Fkernel%2Flinux.git ARCNET: return IRQ_NONE if the interface isn't running The interrupt handler needs to return IRQ_NONE in case two devices are used with the shared interrupt handler. Otherwise it could steal interrupts from the other interface. Signed-off-by: Michael Grzeschik Signed-off-by: David S. Miller --- diff --git a/drivers/net/arcnet/arcnet.c b/drivers/net/arcnet/arcnet.c index 3b790de6c9765..09de683c167ec 100644 --- a/drivers/net/arcnet/arcnet.c +++ b/drivers/net/arcnet/arcnet.c @@ -777,7 +777,7 @@ irqreturn_t arcnet_interrupt(int irq, void *dev_id) ACOMMAND(CFLAGScmd | RESETclear); AINTMASK(0); spin_unlock(&lp->lock); - return IRQ_HANDLED; + return retval; } BUGMSG(D_DURING, "in arcnet_inthandler (status=%Xh, intmask=%Xh)\n",