summaryrefslogtreecommitdiffstats
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-09-12 09:57:45 +0200
committerTom Rini <trini@konsulko.com>2017-09-14 21:33:00 -0400
commit6305db960447ff2d32c335de8bbd9b44cb7d6554 (patch)
tree6a5318d19cc166a12ee974e6ed11d6aa0278cbd7 /scripts/const_structs.checkpatch
parent2e794614838292499910060509d3c4a7aaed986a (diff)
downloadu-boot-6305db960447ff2d32c335de8bbd9b44cb7d6554.tar.gz
u-boot-6305db960447ff2d32c335de8bbd9b44cb7d6554.tar.xz
u-boot-6305db960447ff2d32c335de8bbd9b44cb7d6554.zip
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>
Diffstat (limited to 'scripts/const_structs.checkpatch')
-rw-r--r--scripts/const_structs.checkpatch2
1 files changed, 2 insertions, 0 deletions
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__