diff mbox series

[5/8] libkmod: Update docs about indexes order

Message ID 20220216075533.185693-6-lucas.demarchi@intel.com (mailing list archive)
State New, archived
Headers show
Series Random fixes + modinfo --modname | expand

Commit Message

Lucas De Marchi Feb. 16, 2022, 7:55 a.m. UTC
New indexes were created without updating the documentation about the
order in kmod_module_new_from_lookup(). Add them to the documentation.
---
 libkmod/libkmod-module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c
index 7cb6d26..1c6ff24 100644
--- a/libkmod/libkmod-module.c
+++ b/libkmod/libkmod-module.c
@@ -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