From: Lucas De Marchi Date: Wed, 16 Feb 2022 06:47:06 +0000 (-0800) Subject: libkmod: Update docs about indexes order X-Git-Tag: v30~26 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fkmod.git;a=commitdiff_plain;h=a8592204839e291b92218602801d7374f0a9fcf2 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 --- 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