The patch titled
     lib/vsprintf.c: fix bug omitting minus sign of numbers (module_param)
has been removed from the -mm tree.  Its filename was
     lib-vsprintfc-fix-bug-omitting-minus-sign-of-numbers-module_param.patch

This patch was dropped because it was merged into mainline or a subsystem tree

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 <[EMAIL PROTECTED]>

lib/vsprintf.c: Fix bug omitting minus sign of numbers (module_param)

Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]>
Cc: Yi Yang <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 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 [EMAIL PROTECTED] are


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

Reply via email to