]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
libkmod: Update docs about indexes order
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 16 Feb 2022 06:47:06 +0000 (22:47 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 21 Feb 2022 04:58:11 +0000 (20:58 -0800)
New indexes were created without updating the documentation about the
order in kmod_module_new_from_lookup(). Add them to the documentation.

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

index 7cb6d26b8d963ccd231aecc62827fcfddf10ec50..1c6ff24f2ef8823dc64992378a9200ecfd644696 100644 (file)
@@ -534,7 +534,7 @@ static int __kmod_module_new_from_lookup(struct kmod_ctx *ctx, const lookup_func
  *
  * The search order is: 1. aliases in configuration file; 2. module names in
  * modules.dep index; 3. symbol aliases in modules.symbols index; 4. aliases
- * in modules.alias index.
+ * from install commands; 5. builtin indexes from kernel.
  *
  * The initial refcount is 1, and needs to be decremented to release the
  * resources of the kmod_module. The returned @list must be released by