Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753187AbbFNNYq (ORCPT ); Sun, 14 Jun 2015 09:24:46 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:45316 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751417AbbFNNYg (ORCPT ); Sun, 14 Jun 2015 09:24:36 -0400 Date: Sun, 14 Jun 2015 14:24:33 +0100 From: Charles Keepax To: Takeshi Yoshimura Cc: Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , patches@opensource.wolfsonmicro.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] wm831x_power: Fix off-by-one at free_irq() Message-ID: <20150614132433.GK32730@opensource.wolfsonmicro.com> References: <1434282918-6980-1-git-send-email-yos@sslab.ics.keio.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434282918-6980-1-git-send-email-yos@sslab.ics.keio.ac.jp> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 624 Lines: 17 On Sun, Jun 14, 2015 at 08:55:18PM +0900, Takeshi Yoshimura wrote: > An error handling in wm831x_power_probe() mistakenly frees a failed-to- > request irq as well as other irqs. I added missing decrement of the loop > counter. > > Signed-off-by: Takeshi Yoshimura > --- Acked-by: Charles Keepax Thanks, Charles -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/