• Zhangjin Wu's avatar
    tools/nolibc: arch-*.h: fix up code indent errors · f134c706
    Zhangjin Wu authored
    More than 8 whitespaces of the code indent are replaced with "tab +
    whitespaces" to fix up such errors reported by scripts/checkpatch.pl:
    
        ERROR: code indent should use tabs where possible
        #64: FILE: tools/include/nolibc/arch-mips.h:64:
        +^I                                                                      \$
    
        ERROR: code indent should use tabs where possible
        #72: FILE: tools/include/nolibc/arch-mips.h:72:
        +^I          "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9"  \$
    
    This command is used:
    
        $ sed -i -e '/^\t*        /{s/        /\t/g}' tools/include/nolibc/arch-*.h
    Signed-off-by: default avatarZhangjin Wu <falcon@tinylab.org>
    Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
    f134c706
arch-i386.h 10.4 KB