]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Ignore __this_module in gen_autoksyms.sh
authorSami Tolvanen <samitolvanen@google.com>
Thu, 16 Jun 2022 19:57:59 +0000 (19:57 +0000)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 25 Jun 2022 21:15:05 +0000 (06:15 +0900)
commit9cb63fdd1b62b52f9c5b4f11115d51a4849c9b15
tree7cc9f1dec4cb10f138cb6be88c618f2a6982c93d
parent4e4fbeb076764cc067c8ba4f204dff8841818a45
kbuild: Ignore __this_module in gen_autoksyms.sh

Module object files can contain an undefined reference to __this_module,
which isn't resolved until we link the final .ko. The kernel doesn't
export this symbol, so ignore it in gen_autoksyms.sh.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Tested-by: Steve Muckle <smuckle@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Ramji Jiyani <ramjiyani@google.com>
scripts/gen_autoksyms.sh