Skip to content
Snippets Groups Projects
Select Git revision
  • 5dbdb2d87c294401a22e6a6002f08ebc9fbea38b
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

checkpatch.pl

Blame
  • kernel-doc 75.39 KiB
    #!/usr/bin/perl -w
    
    use strict;
    
    ## Copyright (c) 1998 Michael Zucchi, All Rights Reserved        ##
    ## Copyright (C) 2000, 1  Tim Waugh <twaugh@redhat.com>          ##
    ## Copyright (C) 2001  Simon Huggins                             ##
    ## Copyright (C) 2005-2012  Randy Dunlap                         ##
    ## Copyright (C) 2012  Dan Luedtke                               ##
    ## 								 ##
    ## #define enhancements by Armin Kuster <akuster@mvista.com>	 ##
    ## Copyright (c) 2000 MontaVista Software, Inc.			 ##
    ## 								 ##
    ## This software falls under the GNU General Public License.     ##
    ## Please read the COPYING file for more information             ##
    
    # 18/01/2001 - 	Cleanups
    # 		Functions prototyped as foo(void) same as foo()
    # 		Stop eval'ing where we don't need to.
    # -- huggie@earth.li
    
    # 27/06/2001 -  Allowed whitespace after initial "/**" and
    #               allowed comments before function declarations.
    # -- Christian Kreibich <ck@whoop.org>
    
    # Still to do:
    # 	- add perldoc documentation
    # 	- Look more closely at some of the scarier bits :)
    
    # 26/05/2001 - 	Support for separate source and object trees.
    #		Return error code.
    # 		Keith Owens <kaos@ocs.com.au>
    
    # 23/09/2001 - Added support for typedefs, structs, enums and unions
    #              Support for Context section; can be terminated using empty line
    #              Small fixes (like spaces vs. \s in regex)
    # -- Tim Jansen <tim@tjansen.de>
    
    # 25/07/2012 - Added support for HTML5
    # -- Dan Luedtke <mail@danrl.de>
    
    #
    # This will read a 'c' file and scan for embedded comments in the
    # style of gnome comments (+minor extensions - see below).
    #
    
    # Note: This only supports 'c'.
    
    # usage:
    # kernel-doc [ -docbook | -html | -html5 | -text | -man | -list ]
    #            [ -no-doc-sections ]
    #            [ -function funcname [ -function funcname ...] ]
    #            c file(s)s > outputfile
    # or
    #            [ -nofunction funcname [ -function funcname ...] ]
    #            c file(s)s > outputfile
    #
    #  Set output format using one of -docbook -html -html5 -text or -man.
    #  Default is man.
    #  The -list format is for internal use by docproc.
    #
    #  -no-doc-sections
    #	Do not output DOC: sections
    #
    #  -function funcname
    #	If set, then only generate documentation for the given function(s) or
    #	DOC: section titles.  All other functions and DOC: sections are ignored.
    #
    #  -nofunction funcname
    #	If set, then only generate documentation for the other function(s)/DOC: