[PATCH] Infinite loop/always true check possible with unsigned counter.
Paul Mackerras
paulus at samba.org
Tue Jul 10 20:08:30 EST 2007
Andreas Schwab writes:
> >> ??? There is no rgn->cnt involved in the comparison.
> >
> > Look further down in lmb_add_region; there is a second for loop that
> > does
> >
> > for (i = rgn->cnt-1; i >= 0; i--)
>
> Which is exactly the one quoted above. I still don't see your point.
You're right - my mistake.
Paul.
More information about the Linuxppc-dev
mailing list