From mboxrd@z Thu Jan 1 00:00:00 1970 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758682AbYHSVn6 (ORCPT ); Tue, 19 Aug 2008 17:43:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753615AbYHSVnu (ORCPT ); Tue, 19 Aug 2008 17:43:50 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:38605 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752849AbYHSVnt (ORCPT ); Tue, 19 Aug 2008 17:43:49 -0400 Date: Tue, 19 Aug 2008 21:29:37 +0100 From: Alan Cox To: "Jon Smirl" Cc: "Anton Vorontsov" , "Alessandro Zummo" , "Andrew Morton" , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com 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> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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