From 01020ead2461c02f41d3fb92832ebcf67130a932 Mon Sep 17 00:00:00 2001 From: Michael Bohan Date: Wed, 3 Oct 2012 17:17:04 -0700 Subject: [PATCH] checkpatch: Add +x check on Device Tree source files dts and dtsi files should not be given +x permissions. Change-Id: I23fa5d4012f935f64975471bd6c023b141cde45b Signed-off-by: Michael Bohan --- scripts/checkpatch.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 4c655c2c9ed..d2f60a0d5ed 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1629,6 +1629,8 @@ sub process { $exec_file =~ /^.+\.ihex$/ or $exec_file =~ /^.+\.hex$/ or $exec_file =~ /^.+\.HEX$/ or + $exec_file =~ /^.+\.dts$/ or + $exec_file =~ /^.+\.dtsi$/ or $exec_file =~ /^.+defconfig$/ or $exec_file =~ /^Makefile$/ or $exec_file =~ /^Kconfig$/) &&