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>
Showing
Please register or sign in to comment