The patch titled lib/vsprintf.c: fix bug omitting minus sign of numbers (module_param) has been added to the -mm tree. Its filename is lib-vsprintfc-fix-bug-omitting-minus-sign-of-numbers-module_param.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 *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: lib/vsprintf.c: fix bug omitting minus sign of numbers (module_param) From: Hoang-Nam Nguyen <hnguyen@xxxxxxxxxxxxxxxxxx> lib/vsprintf.c: Fix bug omitting minus sign of numbers (module_param) Signed-off-by: Hoang-Nam Nguyen <hnguyen@xxxxxxxxxx> Cc: Yi Yang <yi.y.yang@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/vsprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN lib/vsprintf.c~lib-vsprintfc-fix-bug-omitting-minus-sign-of-numbers-module_param lib/vsprintf.c --- a/lib/vsprintf.c~lib-vsprintfc-fix-bug-omitting-minus-sign-of-numbers-module_param +++ a/lib/vsprintf.c @@ -234,7 +234,7 @@ int strict_strto##type(const char *cp, u int ret; \ if (*cp == '-') { \ ret = strict_strtou##type(cp+1, base, res); \ - if (ret != 0) \ + if (!ret) \ *res = -(*res); \ } else \ ret = strict_strtou##type(cp, base, res); \ _ Patches currently in -mm which might be from hnguyen@xxxxxxxxxxxxxxxxxx are lib-vsprintfc-fix-bug-omitting-minus-sign-of-numbers-module_param.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