Skip to content
Snippets Groups Projects
Select Git revision
  • 18b8413b25b7070fa2e55858a2c808e6909581d0
  • drm-misc-templates default
  • wip/final/kci-gitlab-lava-v1
  • wip/vignesh/kci-lava-gitlab-runner
  • kci-gitlab-igt-v8
  • kci-gitlab-igt-v4
  • drm-misc-fixes-2024-10-02
  • drm-misc-next-2024-09-26
  • drm-misc-fixes-2024-09-26
  • drm-misc-next-2024-09-20
  • drm-misc-fixes-2024-09-12
  • drm-misc-fixes-2024-09-05
  • drm-misc-next-fixes-2024-09-05
  • drm-misc-fixes-2024-08-29
  • drm-misc-next-2024-08-29
  • drm-misc-next-2024-08-22
  • drm-misc-fixes-2024-08-22
  • drm-misc-next-2024-08-16
  • drm-misc-fixes-2024-08-15
  • drm-misc-next-2024-08-09
  • drm-misc-fixes-2024-08-08
  • drm-misc-next-2024-08-01
  • drm-misc-fixes-2024-08-01
  • drm-misc-next-fixes-2024-07-25
  • drm-misc-next-fixes-2024-07-19
  • drm-misc-next-fixes-2024-07-11
26 results

v3d_drv.h

Blame
  • checkpatch.pl 171.60 KiB
    #!/usr/bin/perl -w
    # (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>
    # Licensed under the terms of the GNU GPL License version 2
    
    use strict;
    use POSIX;
    use File::Basename;
    use Cwd 'abs_path';
    use Term::ANSIColor qw(:constants);
    
    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 $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 $check = 0;
    my $check_orig = 0;
    my $summary = 1;
    my $mailback = 0;
    my $summary_file = 0;
    my $show_types = 0;
    my $fix = 0;
    my $fix_inplace = 0;
    my $root;
    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 = 80;
    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 $color = 1;
    
    sub help {
    	my ($exitcode) = @_;
    
    	print << "EOM";
    Usage: $P [OPTION]... [FILE]...
    Version: $V
    
    Options:
      -q, --quiet                quiet
      --no-tree                  run without a kernel tree
      --no-signoff               do not check for 'Signed-off-by' line
      --patch                    treat FILE as patchfile (default)
      --emacs                    emacs compile window format
      --terse                    one line per report
      --showfile                 emit diffed file position, not input file position