The 3.6 code should be reformatted to adhere to Linux
coding standards.
See
Documentation/CodingStyle
and
scripts/Lindent:
#!/bin/sh
indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl "$@"
Consistent formatting will make review and maintenance
easier.
Logged In: YES
user_id=1010773
I did a check-in today that partially address this issue. I
used the Lindent settings, except that I used four space
indents instead of eight space indents:
indent -kr -i4 -ts8 -sob -l80 -ss -bs -psl
This is necessary because many of the functions are long and
heavily indented. As a result, much of the code is
unreadable if eight space indents are used and the width is
limited to 80 columns. This should be fixed eventually by
breaking the long functions up into smaller ones, but we do
not want to incur that risk to the stable code base at this
time.
I'll leave this bug open for now in case we decide to do any
additional clean-up in the 3.6 branch,.