From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Subject: Re: [spi-devel-general] [PATCH] spi_mpc83xx: test below 0 on unsigned irq in mpc83xx_spi_probe() Date: Wed, 30 Apr 2008 15:12:10 -0700 Message-ID: <200804301512.11317.david-b@pacbell.net> References: <480F99D5.7070300@tiscali.nl> <7C711FFF-E1C5-4286-93A8-382055C6760C@kernel.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Kumar Gala , Roel Kluin <12o3l@tiscali.nl>, "linuxppc-dev@ozlabs.org list" , lkml To: spi-devel-general@lists.sourceforge.net Return-path: In-Reply-To: <7C711FFF-E1C5-4286-93A8-382055C6760C@kernel.crashing.org> Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-spi.vger.kernel.org On Wednesday 23 April 2008, Kumar Gala wrote: > > On Apr 23, 2008, at 3:19 PM, Roel Kluin wrote: > > mpc83xx_spi->irq is unsigned, so the test fails > > > > Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Any reason to not just make mpc83xx_spi->irq be "int", following normal practice everywhere? If not, I'll roll that into the patch from Joakim Tjernlund... - Dave From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp116.sbc.mail.sp1.yahoo.com (smtp116.sbc.mail.sp1.yahoo.com [69.147.64.89]) by ozlabs.org (Postfix) with SMTP id 9D509DDF5D for ; Thu, 1 May 2008 08:12:14 +1000 (EST) From: David Brownell To: spi-devel-general@lists.sourceforge.net Subject: Re: [spi-devel-general] [PATCH] spi_mpc83xx: test below 0 on unsigned irq in mpc83xx_spi_probe() Date: Wed, 30 Apr 2008 15:12:10 -0700 References: <480F99D5.7070300@tiscali.nl> <7C711FFF-E1C5-4286-93A8-382055C6760C@kernel.crashing.org> In-Reply-To: <7C711FFF-E1C5-4286-93A8-382055C6760C@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <200804301512.11317.david-b@pacbell.net> Cc: "linuxppc-dev@ozlabs.org list" , Roel Kluin <12o3l@tiscali.nl>, lkml List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wednesday 23 April 2008, Kumar Gala wrote: > > On Apr 23, 2008, at 3:19 PM, Roel Kluin wrote: > > mpc83xx_spi->irq is unsigned, so the test fails > > > > Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Any reason to not just make mpc83xx_spi->irq be "int", following normal practice everywhere? If not, I'll roll that into the patch from Joakim Tjernlund... - Dave