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:
25cb1bf
)
ACPI: acpi_pad: simplify code to avoid false gcc build warning
author
Len Brown
<len.brown@intel.com>
Tue, 28 Sep 2010 20:50:50 +0000
(16:50 -0400)
committer
Len Brown
<len.brown@intel.com>
Wed, 29 Sep 2010 18:08:10 +0000
(14:08 -0400)
acpi_pad.c:432: warning: ‘num_cpus’ may be used uninitialized in this function
gcc 4.4.4 was unable to notice that num_cpus is always set.
Re-arrange the code to un-confuse gcc, and also make
it easier for humans to read....
Signed-off-by: Len Brown <len.browns@intel.com>
No differences found