Merge tag 'v3.17-rc3' into next
[deliverable/linux.git] / lib / test-kstrtox.c
index bea3f3fa3f02a920fb92b9293c0adf06d72a52a6..4137bca5f8e8e5008ca88b7fcb801096856eaf0c 100644 (file)
@@ -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;
This page took 0.024902 seconds and 5 git commands to generate.