+ kernel-paramsc-fix-lying-comment-for-param_array.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     kernel/params.c: fix lying comment for param_array()
has been added to the -mm tree.  Its filename is
     kernel-paramsc-fix-lying-comment-for-param_array.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: kernel/params.c: fix lying comment for param_array()
From: Bert Wesarg <wesarg@xxxxxxxxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

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

diff -puN kernel/params.c~kernel-paramsc-fix-lying-comment-for-param_array kernel/params.c
--- a/kernel/params.c~kernel-paramsc-fix-lying-comment-for-param_array
+++ a/kernel/params.c
@@ -269,7 +269,7 @@ int param_get_invbool(char *buffer, stru
 	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,
_

Patches currently in -mm which might be from wesarg@xxxxxxxxxxxxxxxxxxxxxxx are

kernel-paramsc-fix-lying-comment-for-param_array.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux