From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org ([140.211.166.183]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1LSPj7-0003RV-Vb for linux-mtd@lists.infradead.org; Thu, 29 Jan 2009 05:46:12 +0000 From: Mike Frysinger To: Adrian McMenamin Subject: Re: [PATCH RFC] sh: maple: Add support for SEGA Dreamcast VMU and clean up maple bus driver (3/3) Date: Thu, 29 Jan 2009 00:46:05 -0500 References: <1233186456.6734.16.camel@localhost.localdomain> <1233187750.6734.27.camel@localhost.localdomain> <1233188287.6734.32.camel@localhost.localdomain> In-Reply-To: <1233188287.6734.32.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901290046.07659.vapier@gentoo.org> Cc: linux-sh , Greg KH , Dmitry Torokhov , LKML , Paul Mundt , MTD , linux-input , dwmw2 List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wednesday 28 January 2009 19:18:07 Adrian McMenamin wrote: > --- a/drivers/input/keyboard/maple_keyb.c > +++ b/drivers/input/keyboard/maple_keyb.c > - if (!kbd || !idev) { > - error = -ENOMEM; > + if (!kbd) { > + error = ENOMEM; > goto fail; > } > ... > - return error; > +fail: > + return -error; this driver has the weird/broken error inverting other patches of yours have had recently ... that stuff really needs to stop showing up ;) -mike