]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
libkmod: correctly tag kmod_module_new_from_name_lookup
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 Jul 2024 16:12:42 +0000 (17:12 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 20 Jul 2024 14:11:01 +0000 (09:11 -0500)
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 <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20240719-abi-fixes-v1-2-1e6d99a2846b@gmail.com
libkmod/libkmod.sym

index 0d6d338b58e284c4d31c6590a9240e93105bbedc..e71f4880348eb1143318fba4231082590d9a9538 100644 (file)
@@ -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;
@@ -94,3 +93,8 @@ LIBKMOD_22 {
 global:
        kmod_get_dirname;
 } LIBKMOD_6;
+
+LIBKMOD_30 {
+global:
+       kmod_module_new_from_name_lookup;
+} LIBKMOD_22;