All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas De Marchi <lucas.demarchi@intel.com>
To: linux-modules@vger.kernel.org
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Subject: [PATCH 5/8] libkmod: Update docs about indexes order
Date: Tue, 15 Feb 2022 23:55:30 -0800	[thread overview]
Message-ID: <20220216075533.185693-6-lucas.demarchi@intel.com> (raw)
In-Reply-To: <20220216075533.185693-1-lucas.demarchi@intel.com>

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 --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
-- 
2.35.1


  parent reply	other threads:[~2022-02-16  7:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-16  7:55 [PATCH 0/8] Random fixes + modinfo --modname Lucas De Marchi
2022-02-16  7:55 ` [PATCH 1/8] test-initstate: Check for negative value on error Lucas De Marchi
2022-02-16  7:55 ` [PATCH 2/8] libkmod-module: Fix return code for kmod_module_new_from_lookup() Lucas De Marchi
2022-02-16  7:55 ` [PATCH 3/8] gitignore: ignore gtk-doc.make Lucas De Marchi
2022-02-16  7:55 ` [PATCH 4/8] libkmod: Add helper function to iterate lookup options Lucas De Marchi
2022-02-16  7:55 ` Lucas De Marchi [this message]
2022-02-16  7:55 ` [PATCH 6/8] libkmod: Add lookup from module name Lucas De Marchi
2022-02-16  7:55 ` [PATCH 7/8] modinfo: Update help message with "modulename" Lucas De Marchi
2022-02-16  7:55 ` [PATCH 8/8] modinfo: Allow to force arg as module name Lucas De Marchi
2022-02-16 18:47   ` Luis Chamberlain
2022-02-16 19:57     ` Lucas De Marchi
2022-02-16 20:26       ` Luis Chamberlain
2022-02-17  8:11 ` [PATCH 0/8] Random fixes + modinfo --modname Luis Chamberlain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220216075533.185693-6-lucas.demarchi@intel.com \
    --to=lucas.demarchi@intel.com \
    --cc=linux-modules@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.