Lines Matching refs:check

26 my $check = 0;
48 --no-signoff do not check for 'Signed-off-by' line
107 'subjective!' => \$check,
108 'strict!' => \$check,
201 # We need \b after 'init' otherwise 'initconst' will cause a false positive in a check
398 foreach my $check (@tree_check) {
399 if (! -e $root . '/' . $check) {
1284 if ($check && report("CHECK", $_[0], $_[1])) {
1649 # Still not yet in a patch, check for any UTF-8
1672 # check for Kconfig help text having a real description
1725 # check we are in a valid source file if not then ignore this hunk
1754 # check for spaces before a quoted newline
1760 # check for adding lines without a newline.
1780 # check we are in a valid source file C or perl if not then ignore this hunk
1793 # check for space before tabs.
1800 # check for && or || at the start of a line
1806 # check multi-line statement indentation matches previous line
1842 # check for spaces at the beginning of a line.
1853 # check we are in a valid C source file if not then ignore this hunk
1856 # check for RCS/CVS revision markers
2042 # We want to check the first line inside the block
2048 my $check = 0;
2055 $check = 1;
2063 $check = 0;
2074 $check = 0;
2099 $check = 0;
2105 #print "line<$line> prevline<$prevline> indent<$indent> sindent<$sindent> check<$check> continuation<$continuation> s<$s> cond_lines<$cond_lines> stat_real<$stat_real> stat<$stat>\n";
2107 if ($check && (($sindent % 8) != 0 ||
2153 # check for initialisation to aggregates open brace on the next line
2164 # check for malformed paths in #include statements (uses RAW line)
2228 # check for global initialisers.
2234 # check for static initialisers.
2241 # check for static const char * arrays.
2248 # check for static char foo[] = "bar" declarations.
2255 # check for declarations of struct pci_device_id
2261 # check for new typedefs, only function parameters and sparse annotations
2325 # check for uses of printk_ratelimit
2376 # check for spacing round square brackets; allowed:
2390 # check for spaces between functions and their parentheses.
2603 # check for multiple assignments
2609 ## # check for multiple declarations, allowing for a function declaration
2639 # check spacing on square brackets
2649 # check spacing on parentheses
2707 # Check for illegal assignment in if conditional -- and check for trailing
2947 # check for redundant bracing round if etc
3079 # check for needless kfree() checks
3084 "kfree(NULL) is safe this check is probably not required\n" . $hereprev);
3087 # check for needless usb_free_urb() checks
3092 "usb_free_urb(NULL) is safe this check is probably not required\n" . $hereprev);
3126 # check for spinlock_t definitions without a comment.
3135 # check for memory barriers without a comment.
3142 # check of hardware specific defines
3154 # check the location of the inline attribute, that it is between
3183 "__printf(string-index, first-to-check) is preferred over __attribute__((format(printf, string-index, first-to-check)))\n" . $herecurr);
3189 "__scanf(string-index, first-to-check) is preferred over __attribute__((format(scanf, string-index, first-to-check)))\n" . $herecurr);
3192 # check for sizeof(&)
3198 # check for line continuations in quoted strings with odd counts of "
3246 # check for new externs in .c files.
3276 # check for pointless casting of kmalloc return
3282 # check for multiple semicolons
3288 # check for gcc specific __FUNCTION__
3294 # check for use of yield()
3300 # check for semaphores initialized locked
3312 # check for __initcall(), use device_initcall() explicitly please
3318 # check for various ops structs, ensure they are const.
3376 # check for %L{u,d,i} in strings
3399 # check for lockdep_set_novalidate_class
3448 (($check)? "$cnt_chk checks, " : "") .