]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
greybus: checkpatch.pl: Mark --no-tree as default option
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 1 Apr 2016 05:45:42 +0000 (11:15 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Sun, 3 Apr 2016 02:44:30 +0000 (19:44 -0700)
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>
drivers/staging/greybus/scripts/checkpatch.pl

index d574d13ba96395ffa0c3a73b9ce669ba42e6a5a3..9930b73211b33c5934e0810985b386bb9f07a7d4 100755 (executable)
@@ -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;