diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-01 11:40:14 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-07 21:17:00 +0300 |
commit | ab489d6002fc27dc5db6d66f121da6fc0bda13ad (patch) | |
tree | 2c8bd3c8dbcd8253af640d8ddb8fbe8458c628bc /scripts/mod/modpost.h | |
parent | 4484054816cab940fc2fde23fa989174fec889d0 (diff) | |
download | linux-ab489d6002fc27dc5db6d66f121da6fc0bda13ad.tar.xz |
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>
Diffstat (limited to 'scripts/mod/modpost.h')
-rw-r--r-- | scripts/mod/modpost.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h index f06bbd0ba93c..2e13a736ab38 100644 --- a/scripts/mod/modpost.h +++ b/scripts/mod/modpost.h @@ -123,9 +123,9 @@ struct module { struct buffer dev_table_buf; char srcversion[25]; // Missing namespace dependencies - struct namespace_list *missing_namespaces; + struct list_head missing_namespaces; // Actual imported namespaces - struct namespace_list *imported_namespaces; + struct list_head imported_namespaces; char name[]; }; |