[PATCH] Infinite loop/always true check possible with unsigned counter.

Manish Ahuja ahuja at austin.ibm.com
Tue Jul 10 05:03:45 EST 2007


Repost to fix my email id.

Fix to correct a possible infinite loop or an always true check when the 
unsigned long counter "i" is used in
lmb_add_region() in the following for loop:

for (i = rgn->cnt-1; i >= 0; i--)

Signed-off-by: Manish Ahuja <ahuja at austin.ibm.com>


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unsigned
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070709/f1d5f4ef/attachment.asc>


More information about the Linuxppc-dev mailing list