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:
7e27d6e
)
percpu: fix trivial bugs in pcpu_build_alloc_info()
author
Pavel V. Panteleev
<pp_84@mail.ru>
Thu, 17 Jun 2010 08:07:25 +0000
(10:07 +0200)
committer
Tejun Heo
<tj@kernel.org>
Thu, 17 Jun 2010 08:07:25 +0000
(10:07 +0200)
Fix the following two trivial bugs in pcpu_build_alloc_info()
* we should memset group_cnt to 0 by size of group_cnt, not size of
group_map (both are of the same size, so the bug isn't dangerous)
* we can delete useless variable group_cnt_max.
Signed-off-by: Pavel V. Panteleev <pp_84@mail.ru>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/percpu.c
patch
|
blob
|
history
diff --cc
mm/percpu.c
Simple merge