From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933143AbbLSUMg (ORCPT ); Sat, 19 Dec 2015 15:12:36 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:21375 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932724AbbLSUMe (ORCPT ); Sat, 19 Dec 2015 15:12:34 -0500 Date: Sat, 19 Dec 2015 23:12:13 +0300 From: Dan Carpenter To: SF Markus Elfring Cc: linux-gpio@vger.kernel.org, Linus Walleij , LKML , kernel-janitors@vger.kernel.org, Julia Lawall Subject: Re: [PATCH] pinctrl-adi2: Use a signed return type for adi_gpio_irq_startup() Message-ID: <20151219201213.GP5284@mwanda> References: <56758D34.2070806@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56758D34.2070806@users.sourceforge.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This introduces a compile warning. These functions are supposed to return 1 if there is an IRQ pending. Change the -EINVAL to 0. regards, dan carpenter