[PATCH] Infinite loop/always true check possible with unsigned counter.
Manish Ahuja
ahuja at austin.ibm.com
Wed Jul 11 04:39:57 EST 2007
Paul Mackerras wrote:
> 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.
>
I presume the patch is good then. Do I need to change anything ?
Thanks,
Manish
More information about the Linuxppc-dev
mailing list