summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-04-01 11:15:42 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2016-04-02 19:44:30 -0700
commit0c35631bce4d0bece5a8e823b7f9ef115c712c4f (patch)
tree6fd778bbbfa2c24e74d1dafd04bf21b34a39ef8c
parentf053f44c9f7f85dd2bab589930d5f3171bb1eaf7 (diff)
greybus: checkpatch.pl: Mark --no-tree as default option
Don't know why, but checkpatch checks if we are running it from top of a kernel tree or not, but then it also provides an option to suppress the warning using --no-tree. Instead of forcing everyone to use this every time, lets make this behavior default. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
-rwxr-xr-xdrivers/staging/greybus/scripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/scripts/checkpatch.pl b/drivers/staging/greybus/scripts/checkpatch.pl
index d574d13ba963..9930b73211b3 100755
--- a/drivers/staging/greybus/scripts/checkpatch.pl
+++ b/drivers/staging/greybus/scripts/checkpatch.pl
@@ -19,7 +19,7 @@ my $V = '0.32';
use Getopt::Long qw(:config no_auto_abbrev);
my $quiet = 0;
-my $tree = 1;
+my $tree = 0;
my $chk_signoff = 1;
my $chk_patch = 1;
my $tst_only;