Lines Matching refs:WARN
1110 sub WARN { subroutine
1146 WARN("use relative pathname instead of absolute in changelog text\n" . $herecurr);
1343 WARN("patch prefix '$p1_prefix' exists, appears to be a -p0 patch\n");
1373 WARN("Signed-off-by: is the preferred form\n" .
1377 WARN("space required after Signed-off-by:\n" .
1455 …WARN("please write a paragraph that describes the config symbol fully\n" . $herecurr) if ($is_end …
1469 WARN("line over 80 characters\n" . $herecurr);
1474 WARN("unnecessary whitespace before a quoted newline\n" . $herecurr);
1479 WARN("adding a line without newline at end of file\n" . $herecurr);
1509 WARN("please, no space before tabs\n" . $herevet);
1519 WARN("please, no spaces at the start of a line\n" . $herevet);
1527 WARN("CVS style keyword markers, these will _not_ be updated\n". $herecurr);
1663 WARN("trailing semicolon indicates no statements, indent implies otherwise\n" .
1751 …WARN("suspect code indent for conditional statements ($indent, $sindent)\n" . $herecurr . "$stat_r…
1858 WARN("EXPORT_SYMBOL(foo); should immediately follow its function/variable\n" . $herecurr);
1874 WARN("static const char * array should probably be static const char * const\n" .
1880 WARN("static char array declaration should probably be static const char\n" .
1886 WARN("Use DEFINE_PCI_DEVICE_TABLE for struct pci_device_id\n" . $herecurr);
1896 WARN("do not add new typedefs\n" . $herecurr);
1943 …WARN("LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged\n…
1948 WARN("Prefer printk_ratelimited or pr_<level>_ratelimited to printk_ratelimit\n" . $herecurr);
1970 WARN("printk() should include KERN_ facility level\n" . $herecurr);
1989 WARN("missing space after $1 definition\n" . $herecurr);
2032 WARN("space prohibited between function name and open parenthesis '('\n" . $herecurr);
2260 WARN("labels should not be indented\n" . $herecurr);
2289 WARN("return of an errno should typically be -ve (return -$1)\n" . $herecurr);
2361 WARN("boolean test with hexadecimal, perhaps just 1 \& or \|?\n" . $herecurr);
2417 WARN("Whitepspace after \\ makes next lines useless\n" . $herecurr);
2431 WARN("Use #include <linux/$file> instead of <asm/$file>\n" . $herecurr);
2536 WARN("vmlinux.lds.h needs VMLINUX_SYMBOL() around C-visible symbols\n" . $herecurr);
2584 WARN("braces {} are not necessary for any arm of this statement\n" . $herectx);
2638 WARN("braces {} are not necessary for single statement blocks\n" . $herectx);
2659 …WARN("Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt\n" . $he…
2672 WARN("kfree(NULL) is safe this check is probably not required\n" . $hereprev);
2679 WARN("usb_free_urb(NULL) is safe this check is probably not required\n" . $hereprev);
2694 …WARN("msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt\n" . $line…
2731 WARN("storage class should be at the beginning of the declaration\n" . $herecurr)
2743 WARN("plain inline is preferred over $1\n" . $herecurr);
2748 WARN("__packed is preferred over __attribute__((packed))\n" . $herecurr);
2753 WARN("sizeof(& should be avoided\n" . $herecurr);
2758 WARN("Avoid line continuations in quoted strings\n" . $herecurr);
2775 WARN("externs should be avoided in .c files\n" . $herecurr);
2779 WARN("arguments for function declarations should follow identifier\n" . $herecurr);
2785 WARN("externs should be avoided in .c files\n" . $herecurr);
2799 …WARN("unnecessary cast may hide bugs, see http://c-faq.com/malloc/mallocnocast.html\n" . $herecurr…
2804 WARN("Statements terminations use 1 semicolon\n" . $herecurr);
2809 WARN("__func__ should be used instead of gcc specific __FUNCTION__\n" . $herecurr);
2814 WARN("consider using a completion\n" . $herecurr);
2819 WARN("consider using kstrto* in preference to simple_$1\n" . $herecurr);
2823 WARN("please use device_initcall() instead of __initcall()\n" . $herecurr);
2865 WARN("struct $1 should normally be const\n" .
2878 …WARN("usage of NR_CPUS is often wrong - consider using cpu_possible(), num_possible_cpus(), for_ea…
2887 WARN("\%Ld/%Lu are not-standard C, use %lld/%llu\n" . $herecurr);
2897 WARN("use of in_atomic() is incorrect outside core kernel code\n" . $herecurr);
2913 …WARN("Exporting world writable files is usually an error. Consider more restrictive permissions.\n…