From: Mathias Krause Date: Wed, 27 Aug 2014 10:58:56 +0000 (+0930) Subject: modpost: simplify file name generation of *.mod.c files X-Git-Tag: fixes-for-v3.18-merge-window~36^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d93e1719a313ca960b38c5159be0106884317997;p=pandora-kernel.git 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 Signed-off-by: Rusty Russell --- Reading git-diff-tree failed