X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tools%2Fscripts%2Fcheckpatch.pl;h=1089c5113446afcb18e2fb27ae1ade4e6c7a0cbc;hp=b7134f8a3cdc4ac398d3c29c2d1e26de816cbd22;hb=164450a01576cfe3b003fdf1b6c80e6f228bfb5d;hpb=06e731185fdf9b9bffeff737b7609d5dc8e22bd6 diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl index b7134f8a3c..1089c51134 100755 --- a/tools/scripts/checkpatch.pl +++ b/tools/scripts/checkpatch.pl @@ -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;