From 0c35631bce4d0bece5a8e823b7f9ef115c712c4f Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Fri, 1 Apr 2016 11:15:42 +0530 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1