diff options
author | Mathias Krause <minipli@googlemail.com> | 2014-08-27 12:58:56 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2014-08-27 14:24:11 +0200 |
commit | d93e1719a313ca960b38c5159be0106884317997 (patch) | |
tree | 10230aeafdbf5e41618c36b411bb2753e84702e7 /init/Kconfig | |
parent | modpost: reduce visibility of symbols and constify r/o arrays (diff) | |
download | linux-d93e1719a313ca960b38c5159be0106884317997.tar.xz linux-d93e1719a313ca960b38c5159be0106884317997.zip |
modpost: simplify file name generation of *.mod.c files
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>
Diffstat (limited to 'init/Kconfig')
0 files changed, 0 insertions, 0 deletions