All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 02/51] kernel/params.c: align add_sysfs_param documentation with code
@ 2017-10-03 23:14 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-10-03 23:14 UTC (permalink / raw)
  To: torvalds, mm-commits, akpm, jdelvare, rusty

From: Jean Delvare <jdelvare@suse.de>
Subject: kernel/params.c: align add_sysfs_param documentation with code

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

Fixes: 9b473de87209 ("param: Fix duplicate module prefixes")
Link: http://lkml.kernel.org/r/20170919142656.64aea59e@endymion
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

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

diff -puN kernel/params.c~params-align-add_sysfs_param-documentation-with-code kernel/params.c
--- a/kernel/params.c~params-align-add_sysfs_param-documentation-with-code
+++ a/kernel/params.c
@@ -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
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-03 23:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-03 23:14 [patch 02/51] kernel/params.c: align add_sysfs_param documentation with code akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.