]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: Add lookup from module name
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 16 Feb 2022 07:10:58 +0000 (23:10 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 21 Feb 2022 04:58:11 +0000 (20:58 -0800)
commit9becaaea25f486d7b0d8237f3d9548c024a9af8f
tree286999a182738a95cc4fb13726463fb4139e3b4a
parenta8592204839e291b92218602801d7374f0a9fcf2
libkmod: Add lookup from module name

Slightly different than kmod_module_new_from_lookup(): it doesn't
consider aliases, only module names. This is useful for cases we want to
force a tool to handle something as the module name, without trying to
interpret it as an alias.

Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
libkmod/libkmod-module.c
libkmod/libkmod.h
libkmod/libkmod.sym