Change checkpatch.pl tab expanding to 4 characters.
[fw/openocd] / tools / scripts / checkpatch.pl
index b7134f8a3cdc4ac398d3c29c2d1e26de816cbd22..1089c5113446afcb18e2fb27ae1ade4e6c7a0cbc 100755 (executable)
@@ -504,7 +504,7 @@ sub expand_tabs {
                if ($c eq "\t") {
                        $res .= ' ';
                        $n++;
-                       for (; ($n % 8) != 0; $n++) {
+                       for (; ($n % 4) != 0; $n++) {
                                $res .= ' ';
                        }
                        next;