Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 28 Aug 2002 09:40:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 28 Aug 2002 09:40:59 -0400 Received: from pD9E23990.dip.t-dialin.net ([217.226.57.144]:36801 "EHLO hawkeye.luckynet.adm") by vger.kernel.org with ESMTP id ; Wed, 28 Aug 2002 09:40:58 -0400 Date: Wed, 28 Aug 2002 07:45:11 -0600 (MDT) From: Thunder from the hill X-X-Sender: thunder@hawkeye.luckynet.adm To: "Stephen C. Biggs" cc: Daniel Phillips , Subject: Re: [PATCH] sched.c In-Reply-To: <3D6BBDED.28599.4E361C@localhost> Message-ID: X-Location: Dorndorf/Steudnitz; Germany MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 768 Lines: 28 Hi, On Tue, 27 Aug 2002, Stephen C. Biggs wrote: > > > > for (i = NR_CPUS; --i >= 0; ) > > > > > > int i = NR_CPUS; > > > > > > while (--i) > > for (i = NR_CPUS - 1; i >= 0; i--) > > unless i is unsigned... That was exactly the point, yours was the current code, and i is indeed unsigned. Thunder -- --./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .- --/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..- .- -/---/--/---/.-./.-./---/.--/.-.-.- --./.-/-.../.-./.././.-../.-.-.- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/