From: Manish Ahuja Date: Mon, 9 Jul 2007 19:03:45 +0000 (+1000) Subject: [POWERPC] Fix loop with unsigned long counter variable X-Git-Tag: v2.6.23-rc2~190^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56d6d1a73d9e5ddd9eb1a7baeeda30803ba44879;p=pandora-kernel.git [POWERPC] Fix loop with unsigned long counter variable This fixes a possible infinite loop 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--) by making the loop counter "i" be signed. Signed-off-by: Manish Ahuja Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed