modpost: load KBUILD_EXTRA_SYMBOLS files in order
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 1 Jun 2020 05:57:04 +0000 (14:57 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 3 Jun 2020 04:22:18 +0000 (13:22 +0900)
commit2beee868997485a5718a349c7868260d5ee7378f
treefb1ea267324ae764cf41886312c9c2e46111db5e
parent4e5ab74c3cbbe7ca2b907a86ce5140e442b340bf
modpost: load KBUILD_EXTRA_SYMBOLS files in order

Currently, modpost reads extra symbol dump files in the reverse order.
If '-e foo -e bar' is given, modpost reads bar, foo, in this order.

This is probably not a big deal, but there is no good reason to reverse
the order. Read files in the given order.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mod/modpost.c