Skip to content
Snippets Groups Projects
Select Git revision
  • ad10ecaa409a6beaedaa59bfadae017dde62823b
  • master default protected
  • djmdev
  • dev
  • cloud_water_contents
  • 1-download-era5
  • sysinstall
  • origin/task/language-editing
  • task/language-editing
  • feature/makefiles
  • v7.1.2
  • v7.1.1
  • v7.1
  • v7.0.4.1
  • 7.0.4
15 results

FCSH__SL.20160410.40429.16424.grb

Blame
  • checkpatch.pl 228.01 KiB
    #!/usr/bin/env perl
    # SPDX-License-Identifier: GPL-2.0
    #
    # (c) 2001, Dave Jones. (the file handling bit)
    # (c) 2005, Joel Schopp <jschopp@austin.ibm.com> (the ugly bit)
    # (c) 2007,2008, Andy Whitcroft <apw@uk.ibm.com> (new conditions, test suite)
    # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
    # (c) 2010-2018 Joe Perches <joe@perches.com>
    
    use strict;
    use warnings;
    use POSIX;
    use File::Basename;
    use Cwd 'abs_path';
    use Term::ANSIColor qw(:constants);
    use Encode qw(decode encode);
    
    my $P = $0;
    my $D = dirname(abs_path($P));
    
    my $V = '0.32';
    
    use Getopt::Long qw(:config no_auto_abbrev);
    
    my $quiet = 0;
    my $verbose = 0;
    my %verbose_messages = ();
    my %verbose_emitted = ();
    my $tree = 1;
    my $chk_signoff = 1;
    my $chk_patch = 1;
    my $tst_only;
    my $emacs = 0;
    my $terse = 0;
    my $showfile = 0;
    my $file = 0;
    my $git = 0;
    my %git_commits = ();
    my $check = 0;
    my $check_orig = 0;
    my $summary = 1;
    my $mailback = 0;
    my $summary_file = 0;
    my $show_types = 0;
    my $list_types = 0;
    my $fix = 0;
    my $fix_inplace = 0;
    my $root;
    my $gitroot = $ENV{'GIT_DIR'};
    $gitroot = ".git" if !defined($gitroot);
    my %debug;
    my %camelcase = ();
    my %use_type = ();
    my @use = ();
    my %ignore_type = ();
    my @ignore = ();
    my $help = 0;
    my $configuration_file = ".checkpatch.conf";
    my $max_line_length = 100;
    my $ignore_perl_version = 0;
    my $minimum_perl_version = 5.10.0;
    my $min_conf_desc_length = 4;
    my $spelling_file = "$D/spelling.txt";
    my $codespell = 0;
    my $codespellfile = "/usr/share/codespell/dictionary.txt";
    my $user_codespellfile = "";
    my $conststructsfile = "$D/const_structs.checkpatch";
    my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst";
    my $typedefsfile;
    my $color = "auto";