From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752699AbaCFJU0 (ORCPT ); Thu, 6 Mar 2014 04:20:26 -0500 Received: from mail-pb0-f44.google.com ([209.85.160.44]:39374 "EHLO mail-pb0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751650AbaCFJUT (ORCPT ); Thu, 6 Mar 2014 04:20:19 -0500 Date: Thu, 6 Mar 2014 17:20:13 +0800 From: Lee Jones To: Josh Cartwright Cc: David Brown , Daniel Walker , Bryan Huntsman , Samuel Ortiz , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mfd: pm8921: fixup probe() error path when irq invalid Message-ID: <20140306092013.GC16034@lee--X1> References: <1394048065-14200-1-git-send-email-joshc@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1394048065-14200-1-git-send-email-joshc@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > platform_get_irq() returns a negative error code when an IRQ is invalid > or unspecified. Make 'irq' signed to properly handle this. > > Cc: Stephen Boyd > Signed-off-by: Josh Cartwright > --- > drivers/mfd/pm8921-core.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applied thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog