Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9730b5b0 authored by Bert Wesarg's avatar Bert Wesarg Committed by Linus Torvalds
Browse files

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: default avatarBert Wesarg <wesarg@informatik.uni-halle.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a5c43dae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@ int param_get_invbool(char *buffer, struct kernel_param *kp)
	return param_get_bool(buffer, &dummy);
}

/* We cheat here and temporarily mangle the string. */
/* We break the rule and mangle the string. */
static int param_array(const char *name,
		       const char *val,
		       unsigned int min, unsigned int max,