checkpatch: update from Linux v4.13-rc6
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 12 Sep 2017 07:57:45 +0000 (09:57 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 15 Sep 2017 01:33:00 +0000 (21:33 -0400)
commit6305db960447ff2d32c335de8bbd9b44cb7d6554
tree6a5318d19cc166a12ee974e6ed11d6aa0278cbd7
parent2e794614838292499910060509d3c4a7aaed986a
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>
scripts/checkpatch.pl
scripts/const_structs.checkpatch [new file with mode: 0644]