mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
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>
This commit is contained in:
@@ -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[];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user