public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] params: Align add_sysfs_param documentation with code
@ 2017-09-19 12:26 Jean Delvare
  2017-09-23  3:07 ` Rusty Russell
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2017-09-19 12:26 UTC (permalink / raw)
  To: LKML; +Cc: Rusty Russell, Andrew Morton

This parameter is named kp, so the documentation should use that.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Fixes: 9b473de87209 ("param: Fix duplicate module prefixes")
Cc: Rusty Russell <rusty@rustcorp.com.au>
---
 kernel/params.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-4.14-rc1.orig/kernel/params.c	2017-09-17 00:47:51.000000000 +0200
+++ linux-4.14-rc1/kernel/params.c	2017-09-19 14:19:51.399247222 +0200
@@ -600,7 +600,7 @@ EXPORT_SYMBOL(kernel_param_unlock);
 /*
  * add_sysfs_param - add a parameter to sysfs
  * @mk: struct module_kobject
- * @kparam: the actual parameter definition to add to sysfs
+ * @kp: the actual parameter definition to add to sysfs
  * @name: name of parameter
  *
  * Create a kobject if for a (per-module) parameter if mp NULL, and

-- 
Jean Delvare
SUSE L3 Support

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

* Re: [PATCH] params: Align add_sysfs_param documentation with code
  2017-09-19 12:26 [PATCH] params: Align add_sysfs_param documentation with code Jean Delvare
@ 2017-09-23  3:07 ` Rusty Russell
  0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2017-09-23  3:07 UTC (permalink / raw)
  To: Jean Delvare, LKML; +Cc: Andrew Morton

Jean Delvare <jdelvare@suse.de> writes:

> This parameter is named kp, so the documentation should use that.
>
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Fixes: 9b473de87209 ("param: Fix duplicate module prefixes")
> Cc: Rusty Russell <rusty@rustcorp.com.au>

Acked-by: Rusty Russell <rusty@rustcorp.com.au>

Thanks,
Rusty.

> ---
>  kernel/params.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-4.14-rc1.orig/kernel/params.c	2017-09-17 00:47:51.000000000 +0200
> +++ linux-4.14-rc1/kernel/params.c	2017-09-19 14:19:51.399247222 +0200
> @@ -600,7 +600,7 @@ EXPORT_SYMBOL(kernel_param_unlock);
>  /*
>   * add_sysfs_param - add a parameter to sysfs
>   * @mk: struct module_kobject
> - * @kparam: the actual parameter definition to add to sysfs
> + * @kp: the actual parameter definition to add to sysfs
>   * @name: name of parameter
>   *
>   * Create a kobject if for a (per-module) parameter if mp NULL, and
>
> -- 
> Jean Delvare
> SUSE L3 Support

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

end of thread, other threads:[~2017-09-23  4:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-19 12:26 [PATCH] params: Align add_sysfs_param documentation with code Jean Delvare
2017-09-23  3:07 ` Rusty Russell

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