+ kernel-params-fix-handling-of-signed-integer-types.patch added to -mm tree
Subject: + kernel-params-fix-handling-of-signed-integer-types.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 26 Sep 2013 13:18:48 -0700
The patch titled
Subject: kernel/params: fix handling of signed integer types
has been added to the -mm tree. Its filename is
kernel-params-fix-handling-of-signed-integer-types.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kernel-params-fix-handling-of-signed-integer-types.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kernel-params-fix-handling-of-signed-integer-types.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Jean Delvare <[email protected]>
Subject: kernel/params: fix handling of signed integer types
Commit 6072ddc8520b ("kernel: replace strict_strto*() with kstrto*()") broke the handling of signed integer types, fix it.
---
kernel/params.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/params.c renamed from kernel/params.c~kernel-params-fix-handling-of-signed-integer-types +3 -3
@@ -254,11 +254,11 @@ int parse_args(const char *doing, STANDARD_PARAM_DEF(byte, unsigned char, "%hhu", unsigned long, kstrtoul); -STANDARD_PARAM_DEF (short, short,"%hi" , long, kstrtoul); +STANDARD_PARAM_DEF (short, short,"%hi" , long, kstrtol); STANDARD_PARAM_DEF(ushort, unsigned short, "%hu", unsigned long, kstrtoul); -STANDARD_PARAM_DEF (int, int,"%i" , long, kstrtoul); +STANDARD_PARAM_DEF (int, int,"%i" , long, kstrtol); STANDARD_PARAM_DEF(uint, unsigned int, "%u", unsigned long, kstrtoul); -STANDARD_PARAM_DEF (long, long,"%li" , long, kstrtoul); +STANDARD_PARAM_DEF (long, long,"%li" , long, kstrtol); STANDARD_PARAM_DEF(ulong, unsigned long, "%lu", unsigned long, kstrtoul);int param_set_charp (const char *val,const struct kernel_param *kp)
_
Patches currently in -mm which might be from [email protected] are
kernel-params-fix-handling-of-signed-integer-types.patch linux-next.patch