diff options
Diffstat (limited to 'lib/test-kstrtox.c')
-rw-r--r-- | lib/test-kstrtox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test-kstrtox.c b/lib/test-kstrtox.c index bea3f3fa3f02..4137bca5f8e8 100644 --- a/lib/test-kstrtox.c +++ b/lib/test-kstrtox.c | |||
@@ -3,7 +3,7 @@ | |||
3 | #include <linux/module.h> | 3 | #include <linux/module.h> |
4 | 4 | ||
5 | #define for_each_test(i, test) \ | 5 | #define for_each_test(i, test) \ |
6 | for (i = 0; i < sizeof(test) / sizeof(test[0]); i++) | 6 | for (i = 0; i < ARRAY_SIZE(test); i++) |
7 | 7 | ||
8 | struct test_fail { | 8 | struct test_fail { |
9 | const char *str; | 9 | const char *str; |