]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: clean up modpost.c
authorSam Ravnborg <sam@ravnborg.org>
Fri, 11 Jan 2008 18:17:15 +0000 (19:17 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 28 Jan 2008 22:14:38 +0000 (23:14 +0100)
commit1a169caf357c9b60032111ae09b31f9cae2c70cf
tree05d203a209becc12ad0752be928c48544e1bbb4c
parent5dde275ef4ce9e60a08c05de5d981cb098a701f8
kbuild: clean up modpost.c

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>
scripts/mod/modpost.c