* [PATCH] driver core: fix path of /sys/module in comment
@ 2026-06-21 7:52 Zenghui Yu
2026-06-21 19:39 ` Randy Dunlap
2026-06-28 23:11 ` Danilo Krummrich
0 siblings, 2 replies; 3+ messages in thread
From: Zenghui Yu @ 2026-06-21 7:52 UTC (permalink / raw)
To: driver-core, linux-kernel; +Cc: gregkh, rafael, dakr, rdunlap, Zenghui Yu
The comment wrongly references to /sys/modules directory instead of
/sys/module. Fix it.
Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev>
---
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 */
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] driver core: fix path of /sys/module in comment
2026-06-21 7:52 [PATCH] driver core: fix path of /sys/module in comment Zenghui Yu
@ 2026-06-21 19:39 ` Randy Dunlap
2026-06-28 23:11 ` Danilo Krummrich
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-06-21 19:39 UTC (permalink / raw)
To: Zenghui Yu, driver-core, linux-kernel; +Cc: gregkh, rafael, dakr
On 6/21/26 12:52 AM, Zenghui Yu wrote:
> The comment wrongly references to /sys/modules directory instead of
> /sys/module. Fix it.
>
> Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> 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 */
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] driver core: fix path of /sys/module in comment
2026-06-21 7:52 [PATCH] driver core: fix path of /sys/module in comment Zenghui Yu
2026-06-21 19:39 ` Randy Dunlap
@ 2026-06-28 23:11 ` Danilo Krummrich
1 sibling, 0 replies; 3+ messages in thread
From: Danilo Krummrich @ 2026-06-28 23:11 UTC (permalink / raw)
To: Zenghui Yu; +Cc: driver-core, linux-kernel, gregkh, rafael, dakr, rdunlap
On Sun, 21 Jun 2026 15:52:39 +0800, Zenghui Yu wrote:
> [PATCH] driver core: fix path of /sys/module in comment
Applied, thanks!
Branch: driver-core-testing
Tree: git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git
[1/1] driver core: fix path of /sys/module in comment
commit: e7e09a8546a9
The patch will appear in the next linux-next integration (typically within 24
hours on weekdays).
The patch is in the driver-core-testing branch and will be promoted to
driver-core-next after validation.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-28 23:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-21 7:52 [PATCH] driver core: fix path of /sys/module in comment Zenghui Yu
2026-06-21 19:39 ` Randy Dunlap
2026-06-28 23:11 ` Danilo Krummrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox