projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs direct: Fix up some code formatting.
[yaffs2.git]
/
direct
/
yaffs_hweight.c
diff --git
a/direct/yaffs_hweight.c
b/direct/yaffs_hweight.c
index 9851683d02be1382185b94c5c7c5a99c9c74e9c9..7e2c250a598138d59a904af52d94c0d02c61fa51 100644
(file)
--- a/
direct/yaffs_hweight.c
+++ b/
direct/yaffs_hweight.c
@@
-10,10
+10,10
@@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-
-
/* These functions have been renamed to hweightxx to match the
-
* equivaqlent functions in the Linux kernel.
-
*/
+
+/* These functions have been renamed to hweightxx to match the
+ * equivaqlent functions in the Linux kernel.
+ */
#include "yaffs_hweight.h"
#include "yaffs_hweight.h"
@@
-45,7
+45,7
@@
int yaffs_hweight8(u8 x)
int yaffs_hweight32(u32 x)
{
int yaffs_hweight32(u32 x)
{
- return yaffs_hweight8(x & 0xff) +
+ return yaffs_hweight8(x & 0xff) +
yaffs_hweight8((x >> 8) & 0xff) +
yaffs_hweight8((x >> 16) & 0xff) +
yaffs_hweight8((x >> 24) & 0xff);
yaffs_hweight8((x >> 8) & 0xff) +
yaffs_hweight8((x >> 16) & 0xff) +
yaffs_hweight8((x >> 24) & 0xff);