aboutsummaryrefslogtreecommitdiff
path: root/util/module.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-09-23 12:37:28 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-10-15 10:43:48 +0200
commitf88908cf3014bb028fc5ad33e32aa3065f0c2715 (patch)
treea13aec91843907e5b63660c182d48073b74450e0 /util/module.c
parent501093207eb1ed4845e0a65ee1ce7db7b9676e0b (diff)
modules: update qom object module comment
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20200923103728.12026-1-kraxel@redhat.com
Diffstat (limited to 'util/module.c')
-rw-r--r--util/module.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/module.c b/util/module.c
index 836fd444e1..4349607ad1 100644
--- a/util/module.c
+++ b/util/module.c
@@ -250,8 +250,10 @@ bool module_load_one(const char *prefix, const char *lib_name, bool mayfail)
* only a very few devices & objects.
*
* So with the expectation that this will be rather the exception than
- * to rule and the list will not gain that many entries go with a
+ * the rule and the list will not gain that many entries, go with a
* simple manually maintained list for now.
+ *
+ * The list must be sorted by module (module_load_qom_all() needs this).
*/
static struct {
const char *type;