From: Oliver Hartkopp Date: Thu, 21 Nov 2013 17:03:07 +0000 (+0100) Subject: can: sja1000: fix {pre,post}_irq() handling and IRQ handler return value X-Git-Tag: v3.13-rc3~28^2~30^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fea6cd303c0d0cd9067da31d873b6a6d5bd75e7;p=pandora-kernel.git can: sja1000: fix {pre,post}_irq() handling and IRQ handler return value This patch fixes the issue that the sja1000_interrupt() function may have returned IRQ_NONE without processing the optional pre_irq() and post_irq() function before. Further the irq processing counter 'n' is moved to the end of the while statement to return correct IRQ_[NONE|HANDLED] values at error conditions. Reported-by: Wolfgang Grandegger Acked-by: Wolfgang Grandegger Signed-off-by: Oliver Hartkopp Cc: linux-stable Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed