aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs/tracing_path.c
diff options
context:
space:
mode:
authorWanlong Gao <[email protected]>2017-06-30 14:07:03 +0000
committerJessica Yu <[email protected]>2017-07-25 13:08:19 +0000
commit4fd3e4ef1f7e94299b42c2f473e196d0b8c114d0 (patch)
tree83acdc3581b72c357a89a3ebe639622e89237588 /tools/lib/api/fs/tracing_path.c
parentLinux 4.13-rc2 (diff)
downloadkernel-4fd3e4ef1f7e94299b42c2f473e196d0b8c114d0.tar.gz
kernel-4fd3e4ef1f7e94299b42c2f473e196d0b8c114d0.zip
modpost: abort if module name is too long
Module name has a limited length, but currently the build system allows the build finishing even if the module name is too long. CC /root/kprobe_example/abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz.mod.o /root/kprobe_example/abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz.mod.c:9:2: warning: initializer-string for array of chars is too long [enabled by default] .name = KBUILD_MODNAME, ^ but it's merely a warning. This patch adds the check of the module name length in modpost and stops the build properly. Signed-off-by: Wanlong Gao <[email protected]> Signed-off-by: Jessica Yu <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions