From 6305db960447ff2d32c335de8bbd9b44cb7d6554 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Tue, 12 Sep 2017 09:57:45 +0200 Subject: 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 --- scripts/const_structs.checkpatch | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 scripts/const_structs.checkpatch (limited to 'scripts/const_structs.checkpatch') diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch new file mode 100644 index 0000000000..da775bca0c --- /dev/null +++ b/scripts/const_structs.checkpatch @@ -0,0 +1,2 @@ +# Put structs here that should be constant +__dummy__ -- cgit