Skip to content

Commit

Permalink
kbuild: clean up modpost.c
Browse files Browse the repository at this point in the history
akpm complained about overly long lines in modpost.c and
when started additional style issues were fixed:

o Updated my copyright
o Removed unneeded {}
o Drop assignments in if ()
o Spaces around operators
o Break long lines
o locate * near variable not type
o Fix a format specifier for sizeof()
o Corrected placement of '{' and '}'
o spaces to tabs (but use tabs only for indention)

modpost.c is not checkpatch clean. Readability were favoured
on top of checkpatch compliance.
But checkpatch were used to find additional stuff to clean up.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
Sam Ravnborg committed Jan 28, 2008
1 parent 07f7668 commit df578e7
Showing 1 changed file with 101 additions and 96 deletions.
Loading

0 comments on commit df578e7

Please sign in to comment.