git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7792682
)
[POWERPC] Fix loop with unsigned long counter variable
author
Manish Ahuja
<ahuja@austin.ibm.com>
Mon, 9 Jul 2007 19:03:45 +0000
(
05:03
+1000)
committer
Paul Mackerras
<paulus@samba.org>
Thu, 26 Jul 2007 06:12:17 +0000
(16:12 +1000)
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 <ahuja@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
No differences found