From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 1/2] can: mcp251x: fix endless loop in interrupt handler if CANINTF_MERRF is set Date: Thu, 21 Oct 2010 04:32:56 -0700 (PDT) Message-ID: <20101021.043256.173857844.davem@davemloft.net> References: <1287568946-32727-1-git-send-email-mkl@pengutronix.de> <1287568946-32727-2-git-send-email-mkl@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: socketcan-core-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: mkl-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org Return-path: In-Reply-To: <1287568946-32727-2-git-send-email-mkl-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org Errors-To: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org List-Id: netdev.vger.kernel.org From: Marc Kleine-Budde Date: Wed, 20 Oct 2010 12:02:25 +0200 > Commit d3cd15657516141adce387810be8cb377baf020e introduced a bug, the > interrupt handler would loop endlessly if the CANINTF_MERRF bit is set, > because it's not cleared. > > This patch fixes the problem by masking out the CANINTF_MERRF and all other > non interesting bits. > > Signed-off-by: Marc Kleine-Budde Applied.