diff options
| author | James Morris <[email protected]> | 2014-11-19 10:32:12 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2014-11-19 10:32:12 +0000 |
| commit | b10778a00d40b3d9fdaaf5891e802794781ff71c (patch) | |
| tree | 6ba4cbac86eecedc3f30650e7f764ecf00c83898 /lib/test-kstrtox.c | |
| parent | integrity: do zero padding of the key id (diff) | |
| parent | Linux 3.17 (diff) | |
| download | kernel-b10778a00d40b3d9fdaaf5891e802794781ff71c.tar.gz kernel-b10778a00d40b3d9fdaaf5891e802794781ff71c.zip | |
Merge commit 'v3.17' into next
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 @@ #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; |
