Commit 9730b5b06fee7ffd1f0150855f03cf319c0e004f

Authored by Bert Wesarg
Committed by Linus Torvalds
1 parent a5c43dae7a

kernel/params.c: fix lying comment for param_array()

This fixes the comment for the function param_array. Which lies that it
only *temporarily* mangle the input string @val.

Signed-off-by: Bert Wesarg <wesarg@informatik.uni-halle.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -269,7 +269,7 @@
269 269 return param_get_bool(buffer, &dummy);
270 270 }
271 271  
272   -/* We cheat here and temporarily mangle the string. */
  272 +/* We break the rule and mangle the string. */
273 273 static int param_array(const char *name,
274 274 const char *val,
275 275 unsigned int min, unsigned int max,