summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2022-02-15 22:47:06 -0800
committerLucas De Marchi <lucas.demarchi@intel.com>2022-02-20 20:58:11 -0800
commita8592204839e291b92218602801d7374f0a9fcf2 (patch)
tree00bc0ee240cb38b9997001a652b7a531f8ae7324
parent82972710196442c503cc1068a05651c354a865fb (diff)
downloadkmod-a8592204839e291b92218602801d7374f0a9fcf2.tar.gz
kmod-a8592204839e291b92218602801d7374f0a9fcf2.tar.bz2
kmod-a8592204839e291b92218602801d7374f0a9fcf2.zip
libkmod: Update docs about indexes order
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>
-rw-r--r--libkmod/libkmod-module.c2
1 files changed, 1 insertions, 1 deletions
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