* [PATCH] ACPI: sysfs: Fix path of module parameters in comments
@ 2026-06-11 14:25 Zenghui Yu
2026-06-19 18:20 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Zenghui Yu @ 2026-06-11 14:25 UTC (permalink / raw)
To: linux-acpi, linux-kernel; +Cc: rafael, lenb, Zenghui Yu
The correct path of module parameters should be
/sys/module/acpi/parameters/xxx. Fix them.
Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev>
---
drivers/acpi/sysfs.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c
index a625de3c3c8b..908cc5c7e643 100644
--- a/drivers/acpi/sysfs.c
+++ b/drivers/acpi/sysfs.c
@@ -17,12 +17,12 @@
#ifdef CONFIG_ACPI_DEBUG
/*
* ACPI debug sysfs I/F, including:
- * /sys/modules/acpi/parameters/debug_layer
- * /sys/modules/acpi/parameters/debug_level
- * /sys/modules/acpi/parameters/trace_method_name
- * /sys/modules/acpi/parameters/trace_state
- * /sys/modules/acpi/parameters/trace_debug_layer
- * /sys/modules/acpi/parameters/trace_debug_level
+ * /sys/module/acpi/parameters/debug_layer
+ * /sys/module/acpi/parameters/debug_level
+ * /sys/module/acpi/parameters/trace_method_name
+ * /sys/module/acpi/parameters/trace_state
+ * /sys/module/acpi/parameters/trace_debug_layer
+ * /sys/module/acpi/parameters/trace_debug_level
*/
struct acpi_dlayer {
@@ -269,7 +269,7 @@ module_param_call(trace_state, param_set_trace_state, param_get_trace_state,
#endif /* CONFIG_ACPI_DEBUG */
-/* /sys/modules/acpi/parameters/aml_debug_output */
+/* /sys/module/acpi/parameters/aml_debug_output */
module_param_named(aml_debug_output, acpi_gbl_enable_aml_debug_object,
byte, 0644);
--
2.53.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ACPI: sysfs: Fix path of module parameters in comments
2026-06-11 14:25 [PATCH] ACPI: sysfs: Fix path of module parameters in comments Zenghui Yu
@ 2026-06-19 18:20 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2026-06-19 18:20 UTC (permalink / raw)
To: Zenghui Yu; +Cc: linux-acpi, linux-kernel, rafael, lenb
On Thu, Jun 11, 2026 at 4:25 PM Zenghui Yu <zenghui.yu@linux.dev> wrote:
>
> The correct path of module parameters should be
> /sys/module/acpi/parameters/xxx. Fix them.
>
> Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev>
> ---
> drivers/acpi/sysfs.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c
> index a625de3c3c8b..908cc5c7e643 100644
> --- a/drivers/acpi/sysfs.c
> +++ b/drivers/acpi/sysfs.c
> @@ -17,12 +17,12 @@
> #ifdef CONFIG_ACPI_DEBUG
> /*
> * ACPI debug sysfs I/F, including:
> - * /sys/modules/acpi/parameters/debug_layer
> - * /sys/modules/acpi/parameters/debug_level
> - * /sys/modules/acpi/parameters/trace_method_name
> - * /sys/modules/acpi/parameters/trace_state
> - * /sys/modules/acpi/parameters/trace_debug_layer
> - * /sys/modules/acpi/parameters/trace_debug_level
> + * /sys/module/acpi/parameters/debug_layer
> + * /sys/module/acpi/parameters/debug_level
> + * /sys/module/acpi/parameters/trace_method_name
> + * /sys/module/acpi/parameters/trace_state
> + * /sys/module/acpi/parameters/trace_debug_layer
> + * /sys/module/acpi/parameters/trace_debug_level
> */
>
> struct acpi_dlayer {
> @@ -269,7 +269,7 @@ module_param_call(trace_state, param_set_trace_state, param_get_trace_state,
> #endif /* CONFIG_ACPI_DEBUG */
>
>
> -/* /sys/modules/acpi/parameters/aml_debug_output */
> +/* /sys/module/acpi/parameters/aml_debug_output */
>
> module_param_named(aml_debug_output, acpi_gbl_enable_aml_debug_object,
> byte, 0644);
> --
Applied as 7.2-rc material, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-19 18:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-11 14:25 [PATCH] ACPI: sysfs: Fix path of module parameters in comments Zenghui Yu
2026-06-19 18:20 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®