Skip to content

Commit

Permalink
libkmod: correctly tag kmod_module_new_from_name_lookup
Browse files Browse the repository at this point in the history
The symbol was introduced with v30, yet was erroneously added in the v5
section. Move it to the correct place.

In theory this might cause an issue - severity depends on how the
runtime linker is setup. From a harmless warning (on stderr/stdout) to
failure to load the library.

In practise this shouldn't be a problem, since there are seemingly no
external users of the API.

Fixes: 9becaae ("libkmod: Add lookup from module name")
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
evelikov authored and lucasdemarchi committed Jul 20, 2024
1 parent 89596b7 commit a5b7ac3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libkmod/libkmod.sym
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ global:
kmod_module_new_from_name;
kmod_module_new_from_path;
kmod_module_new_from_lookup;
kmod_module_new_from_name_lookup;
kmod_module_new_from_loaded;
kmod_module_ref;
kmod_module_unref;
Expand Down Expand Up @@ -94,3 +93,8 @@ LIBKMOD_22 {
global:
kmod_get_dirname;
} LIBKMOD_6;

LIBKMOD_30 {
global:
kmod_module_new_from_name_lookup;
} LIBKMOD_22;

0 comments on commit a5b7ac3

Please sign in to comment.