From e7e09a8546a9e41a164378979471a4b4bd166bc7 Mon Sep 17 00:00:00 2001 From: Zenghui Yu Date: Sun, 21 Jun 2026 15:52:39 +0800 Subject: [PATCH] driver core: fix path of /sys/module in comment The comment wrongly references to /sys/modules directory instead of /sys/module. Fix it. Signed-off-by: Zenghui Yu Acked-by: Randy Dunlap Link: https://patch.msgid.link/20260621075239.11330-1-zenghui.yu@linux.dev Signed-off-by: Danilo Krummrich --- drivers/base/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/module.c b/drivers/base/module.c index 218aaa096455..6789dca485ab 100644 --- a/drivers/base/module.c +++ b/drivers/base/module.c @@ -42,7 +42,7 @@ int module_add_driver(struct module *mod, const struct device_driver *drv) if (mod) mk = &mod->mkobj; else if (drv->mod_name) { - /* Lookup or create built-in module entry in /sys/modules */ + /* Lookup or create built-in module entry in /sys/module */ mk = lookup_or_create_module_kobject(drv->mod_name); if (mk) { /* remember our module structure */