]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
modpost: respect the previous export when 'exported twice' is warned
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 14 Nov 2019 17:42:26 +0000 (02:42 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 23 Nov 2019 06:46:42 +0000 (15:46 +0900)
commit7ef9ab3b32b4bb72a7d70b832d2eb12ceb93d9fd
tree582933ecde0c01c0a304fdbd616840fca6163366
parente4b26c9f75e48b5ef9e31ac6c8a445d4479b469c
modpost: respect the previous export when 'exported twice' is warned

When 'exported twice' is warned, let sym_add_exported() return without
updating the symbol info. This respects the previous export, which is
ordered first in modules.order

This simplifies the code too.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/mod/modpost.c