소스 검색

checkpatch: update from Linux v4.13-rc6

Checkpatch produces the following warning:

Unescaped left brace in regex is deprecated here
(and will be fatal in Perl 5.30), passed through in regex;
marked by <-- HERE in m/^(\+.*(?:do|\))){ <-- HERE /
at scripts/checkpatch.pl line 3348.

The curent checkpatch of the Linux kernel corrects this
bug and many others.

It provides improved colored output.

So replace checkpatch by the current Linux version.

Add an empty file scripts/const_structs.checkpatch.
We can later fill it according to our needs.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Heinrich Schuchardt 6 년 전
부모
커밋
6305db9604
2개의 변경된 파일575개의 추가작업 그리고 57개의 파일을 삭제
  1. 573 57
      scripts/checkpatch.pl
  2. 2 0
      scripts/const_structs.checkpatch

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 573 - 57
scripts/checkpatch.pl


+ 2 - 0
scripts/const_structs.checkpatch

@@ -0,0 +1,2 @@
+# Put structs here that should be constant
+__dummy__

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.