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/