]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: make updating the symbol namespace explicit
authorMatthias Maennich <maennich@google.com>
Fri, 18 Oct 2019 09:31:41 +0000 (10:31 +0100)
committerJessica Yu <jeyu@kernel.org>
Fri, 18 Oct 2019 13:32:47 +0000 (15:32 +0200)
commit6c3b99f0a4f35a057f916603baa16b6ed49671ae
tree9a2498d3e40d52500e5701dc019862bf4e8a64e0
parent36fdcc242e53ce749bf9aae065b306e447614cc0
modpost: make updating the symbol namespace explicit

Setting the symbol namespace of a symbol within sym_add_exported feels
displaced and lead to issues in the current implementation of symbol
namespaces. This patch makes updating the namespace an explicit call to
decouple it from adding a symbol to the export list.

Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
scripts/mod/modpost.c