Return-Path: Received: from lxorguk.ukuu.org.uk (earthlight.etchedpixels.co.uk [81.2.110.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E79C4DE56A for ; Wed, 20 Aug 2008 06:47:00 +1000 (EST) Date: Tue, 19 Aug 2008 21:29:37 +0100 From: Alan Cox To: "Jon Smirl" Subject: Re: [PATCH 1/2] rtc: rtc-ds1374: fix 'no irq' case handling Message-ID: <20080819212937.01dfd024@lxorguk.ukuu.org.uk> In-Reply-To: <9e4733910808191339s28a05f90pef57961e8d24fbdb@mail.gmail.com> References: <20080812161733.GA32164@oksana.dev.rtsoft.ru> <9e4733910808191339s28a05f90pef57961e8d24fbdb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: Alessandro Zummo , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Andrew Morton List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > Shouldn't this be > > > - if (client->irq <= NO_IRQ) > > instead of NO_IRQ is obsolete. client->irq != is the test and IRQ numbers are unsigned. Alan