projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'imx-soc-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
[cascardo/linux.git]
/
lib
/
test-kstrtox.c
diff --git
a/lib/test-kstrtox.c
b/lib/test-kstrtox.c
index
bea3f3f
..
4137bca
100644
(file)
--- a/
lib/test-kstrtox.c
+++ b/
lib/test-kstrtox.c
@@
-3,7
+3,7
@@
#include <linux/module.h>
#define for_each_test(i, test) \
- for (i = 0; i <
sizeof(test) / sizeof(test[0]
); i++)
+ for (i = 0; i <
ARRAY_SIZE(test
); i++)
struct test_fail {
const char *str;