projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checkpatch: Allow longer declaration macros
[firefly-linux-kernel-4.4.55.git]
/
lib
/
test-kstrtox.c
diff --git
a/lib/test-kstrtox.c
b/lib/test-kstrtox.c
index 4137bca5f8e8e5008ca88b7fcb801096856eaf0c..f355f67169b6a32fbb7162b46691a45de4291cd2 100644
(file)
--- a/
lib/test-kstrtox.c
+++ b/
lib/test-kstrtox.c
@@
-260,6
+260,7
@@
static void __init test_kstrtoll_ok(void)
{"4294967297", 10, 4294967297LL},
{"9223372036854775807", 10, 9223372036854775807LL},
{"4294967297", 10, 4294967297LL},
{"9223372036854775807", 10, 9223372036854775807LL},
+ {"-0", 10, 0LL},
{"-1", 10, -1LL},
{"-2", 10, -2LL},
{"-9223372036854775808", 10, LLONG_MIN},
{"-1", 10, -1LL},
{"-2", 10, -2LL},
{"-9223372036854775808", 10, LLONG_MIN},
@@
-277,11
+278,6
@@
static void __init test_kstrtoll_fail(void)
{"-9223372036854775809", 10},
{"-18446744073709551614", 10},
{"-18446744073709551615", 10},
{"-9223372036854775809", 10},
{"-18446744073709551614", 10},
{"-18446744073709551615", 10},
- /* negative zero isn't an integer in Linux */
- {"-0", 0},
- {"-0", 8},
- {"-0", 10},
- {"-0", 16},
/* sign is first character if any */
{"-+1", 0},
{"-+1", 8},
/* sign is first character if any */
{"-+1", 0},
{"-+1", 8},