Skip to content

Commit

Permalink
kernel/params.c: fix lying comment for param_array()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bert Wesarg authored and Linus Torvalds committed May 8, 2007
1 parent a5c43da commit 9730b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/params.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9730b5b

Please sign in to comment.