diff options
| author | Masahiro Yamada <[email protected]> | 2022-06-10 18:32:30 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2022-06-19 23:18:03 +0000 |
| commit | 28438794aba47a27e922857d27b31b74e8559143 (patch) | |
| tree | 119c2a6d038c6bc7a1c7e2379871e43099d33e63 /scripts/clang-tools/gen_compile_commands.py | |
| parent | Linux 5.19-rc3 (diff) | |
| download | kernel-28438794aba47a27e922857d27b31b74e8559143.tar.gz kernel-28438794aba47a27e922857d27b31b74e8559143.zip | |
modpost: fix section mismatch check for exported init/exit sections
Since commit f02e8a6596b7 ("module: Sort exported symbols"),
EXPORT_SYMBOL* is placed in the individual section ___ksymtab(_gpl)+<sym>
(3 leading underscores instead of 2).
Since then, modpost cannot detect the bad combination of EXPORT_SYMBOL
and __init/__exit.
Fix the .fromsec field.
Fixes: f02e8a6596b7 ("module: Sort exported symbols")
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
