The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] params: fix path of /sys/module/XYZ/parameters/ in comment
@ 2026-06-21  8:22 Zenghui Yu
  2026-06-21 19:44 ` Randy Dunlap
  2026-06-21 21:33 ` Aaron Tomlin
  0 siblings, 2 replies; 3+ messages in thread
From: Zenghui Yu @ 2026-06-21  8:22 UTC (permalink / raw)
  To: linux-modules, linux-kernel
  Cc: mcgrof, petr.pavlu, da.gomez, samitolvanen, atomlin, rdunlap,
	Zenghui Yu

The comment wrongly references to /sys/modules/XYZ/parameters/ directory
instead of /sys/module/XYZ/parameters/. Fix it.

Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev>
---

kernel/params.c is not covered by any MAINTAINERS entry. I assume it should
be a "MODULE SUPPORT" stuff?

 kernel/params.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/params.c b/kernel/params.c
index a668863a4bb6..3456b104efc9 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -538,7 +538,7 @@ const struct kernel_param_ops param_ops_string = {
 };
 EXPORT_SYMBOL(param_ops_string);
 
-/* sysfs output in /sys/modules/XYZ/parameters/ */
+/* sysfs output in /sys/module/XYZ/parameters/ */
 #define to_module_attr(n) container_of_const(n, struct module_attribute, attr)
 #define to_module_kobject(n) container_of(n, struct module_kobject, kobj)
 
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] params: fix path of /sys/module/XYZ/parameters/ in comment
  2026-06-21  8:22 [PATCH] params: fix path of /sys/module/XYZ/parameters/ in comment Zenghui Yu
@ 2026-06-21 19:44 ` Randy Dunlap
  2026-06-21 21:33 ` Aaron Tomlin
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-06-21 19:44 UTC (permalink / raw)
  To: Zenghui Yu, linux-modules, linux-kernel
  Cc: mcgrof, petr.pavlu, da.gomez, samitolvanen, atomlin



On 6/21/26 1:22 AM, Zenghui Yu wrote:
> The comment wrongly references to /sys/modules/XYZ/parameters/ directory
> instead of /sys/module/XYZ/parameters/. Fix it.
> 
> Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.

> ---
> 
> kernel/params.c is not covered by any MAINTAINERS entry. I assume it should
> be a "MODULE SUPPORT" stuff?
> 
>  kernel/params.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/params.c b/kernel/params.c
> index a668863a4bb6..3456b104efc9 100644
> --- a/kernel/params.c
> +++ b/kernel/params.c
> @@ -538,7 +538,7 @@ const struct kernel_param_ops param_ops_string = {
>  };
>  EXPORT_SYMBOL(param_ops_string);
>  
> -/* sysfs output in /sys/modules/XYZ/parameters/ */
> +/* sysfs output in /sys/module/XYZ/parameters/ */
>  #define to_module_attr(n) container_of_const(n, struct module_attribute, attr)
>  #define to_module_kobject(n) container_of(n, struct module_kobject, kobj)
>  

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] params: fix path of /sys/module/XYZ/parameters/ in comment
  2026-06-21  8:22 [PATCH] params: fix path of /sys/module/XYZ/parameters/ in comment Zenghui Yu
  2026-06-21 19:44 ` Randy Dunlap
@ 2026-06-21 21:33 ` Aaron Tomlin
  1 sibling, 0 replies; 3+ messages in thread
From: Aaron Tomlin @ 2026-06-21 21:33 UTC (permalink / raw)
  To: Zenghui Yu
  Cc: linux-modules, linux-kernel, mcgrof, petr.pavlu, da.gomez,
	samitolvanen, rdunlap

On Sun, Jun 21, 2026 at 04:22:23PM +0800, Zenghui Yu wrote:
> The comment wrongly references to /sys/modules/XYZ/parameters/ directory
> instead of /sys/module/XYZ/parameters/. Fix it.
> 
> Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev>
> ---
> 
> kernel/params.c is not covered by any MAINTAINERS entry. I assume it should
> be a "MODULE SUPPORT" stuff?
> 
>  kernel/params.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/params.c b/kernel/params.c
> index a668863a4bb6..3456b104efc9 100644
> --- a/kernel/params.c
> +++ b/kernel/params.c
> @@ -538,7 +538,7 @@ const struct kernel_param_ops param_ops_string = {
>  };
>  EXPORT_SYMBOL(param_ops_string);
>  
> -/* sysfs output in /sys/modules/XYZ/parameters/ */
> +/* sysfs output in /sys/module/XYZ/parameters/ */
>  #define to_module_attr(n) container_of_const(n, struct module_attribute, attr)
>  #define to_module_kobject(n) container_of(n, struct module_kobject, kobj)
>  
> -- 
> 2.53.0

Thank you.

Reviewed-by: Aaron Tomlin <atomlin@atomlin.com>

-- 
Aaron Tomlin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-21 21:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-21  8:22 [PATCH] params: fix path of /sys/module/XYZ/parameters/ in comment Zenghui Yu
2026-06-21 19:44 ` Randy Dunlap
2026-06-21 21:33 ` Aaron Tomlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox