modpost: traverse the namespace_list in order
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 1 May 2022 08:40:14 +0000 (17:40 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 7 May 2022 18:17:00 +0000 (03:17 +0900)
commitab489d6002fc27dc5db6d66f121da6fc0bda13ad
tree2c8bd3c8dbcd8253af640d8ddb8fbe8458c628bc
parent4484054816cab940fc2fde23fa989174fec889d0
modpost: traverse the namespace_list in order

Use the doubly linked list to traverse the list in the added order.
This makes the code more consistent.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
scripts/mod/modpost.c
scripts/mod/modpost.h