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:
7a3ee75
)
modpost: simplify file name generation of *.mod.c files
author
Mathias Krause
<minipli@googlemail.com>
Wed, 27 Aug 2014 10:58:56 +0000
(20:28 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 27 Aug 2014 12:24:11 +0000
(21:54 +0930)
Avoid the variable length array (vla), just use PATH_MAX instead.
This not only makes this code clang friedly, it also leads to a
code size reduction:
text data bss dec hex filename
51765 2224 12416 66405 10365 scripts/mod/modpost.old
51677 2224 12416 66317 1030d scripts/mod/modpost.new
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
scripts/mod/modpost.c
patch
|
blob
|
history
diff --cc
scripts/mod/modpost.c
Simple merge