From: Dan Carpenter Date: Sat, 19 Dec 2015 20:45:01 +0000 Subject: Re: pinctrl-adi2: Use a signed return type for adi_gpio_irq_startup() Message-Id: <20151219204501.GV5284@mwanda> List-Id: References: <56758D34.2070806@users.sourceforge.net> <20151219201213.GP5284@mwanda> <5675C0BB.9020204@users.sourceforge.net> In-Reply-To: <5675C0BB.9020204@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring Cc: linux-gpio@vger.kernel.org, Linus Walleij , LKML , kernel-janitors@vger.kernel.org, Julia Lawall On Sat, Dec 19, 2015 at 09:40:27PM +0100, SF Markus Elfring wrote: > > This introduces a compile warning. > > How do you think about to show the exact message you get? > I can't actually compile it myself. > > > These functions are supposed to return 1 if there is an IRQ pending. > > Change the -EINVAL to 0. > > Is there any more source code clean-up needed around the comment "FIXME" > in the affected function? Delete the FIXME comment. regards, dan carpenter