From: Viresh Kumar Date: Fri, 1 Apr 2016 05:45:42 +0000 (+0530) Subject: greybus: checkpatch.pl: Mark --no-tree as default option X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0c35631bce4d0bece5a8e823b7f9ef115c712c4f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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;