aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
AgeCommit message (Expand)AuthorFilesLines
2015-08-05Merge branch 'akpm-current/current'Stephen Rothwell1-33/+84
2015-08-05Merge remote-tracking branch 'rcu/rcu/next'Stephen Rothwell1-0/+19
2015-07-30checkpatch: make --strict the default for drivers/staging files and patchesJoe Perches1-1/+1
2015-07-30checkpatch: always check block comment stylesJoe Perches1-8/+11
2015-07-30checkpatch: report the right line # when using --emacs and --fileJoe Perches1-1/+5
2015-07-30checkpatch: add some <foo>_destroy functions to NEEDLESS_IF testsJoe Perches1-4/+28
2015-07-30checkpatch: Allow longer declaration macrosJoe Perches1-1/+1
2015-07-30checkpatch: improve SUSPECT_CODE_INDENT testJoe Perches1-6/+15
2015-07-30checkpatch: add warning on BUG/BUG_ON useJoe Perches1-6/+8
2015-07-30checkpatch: warn on bare SHA-1 commit IDs in commit logsJoe Perches1-3/+12
2015-07-30parse_integer: add checkpatch.pl noticeAlexey Dobriyan1-3/+3
2015-07-20scripts: Make checkpatch.pl warn on expedited RCU grace periodsPaul E. McKenney1-0/+19
2015-07-17checkpatch: fix long line messages about patch contextJoe Perches1-1/+1
2015-06-25checkpatch: emit "NOTE: <types>" message only once after multiple filesJoe Perches1-4/+4
2015-06-25checkpatch: emit an error when there's a diff in a changelogJoe Perches1-1/+14
2015-06-25checkpatch: validate MODULE_LICENSE contentBjorn Andersson1-0/+18
2015-06-25checkpatch: add multi-line handling for PREFER_ETHER_ADDR_COPYMateusz Kulikowski1-2/+3
2015-06-25checkpatch: suggest using eth_zero_addr() and eth_broadcast_addr()Mateusz Kulikowski1-0/+23
2015-06-25checkpatch: fix processing of MEMSET issuesMateusz Kulikowski1-1/+1
2015-06-25checkpatch: suggest using ether_addr_equal*()Mateusz Kulikowski1-0/+8
2015-06-25checkpatch: avoid NOT_UNIFIED_DIFF errors on cover-letter.patch filesJoe Perches1-1/+1
2015-06-25checkpatch: remove local from codespell pathMaxim Uvarov1-2/+2
2015-06-25checkpatch: add --showfile to allow input via pipe to show filenamesJoe Perches1-5/+17
2015-06-25checkpatch: colorize output to terminalJoe Perches1-6/+21
2015-06-25checkpatch: improve output with multiple command-line filesJoe Perches1-23/+39
2015-06-25checkpatch: categorize some long line length checksJoe Perches1-10/+50
2015-06-25checkpatch: use $String consistentlyJoe Perches1-6/+6
2015-06-25checkpatch: make types found in a source file/patch localAlex Dowad1-4/+9
2015-06-25checkpatch: add --strict warning for c99 fixed size typedefs : int<size>_tJoe Perches1-6/+25
2015-06-25checkpatch: check for uncommented waitqueue_active()Joe Perches1-0/+7
2015-06-10checkpatch: fix "GLOBAL_INITIALISERS" testJoe Perches1-2/+2
2015-04-17checkpatch: avoid "spaces required around that ':'" false positiveJoe Perches1-0/+8
2015-04-17checkpatch: fix --fix use with a patch of multiple filesJoe Perches1-1/+1
2015-04-17checkpatch.pl: new instances of ENOSYS are errorsAndy Lutomirski1-0/+8
2015-04-17checkpatch: add a test for const with __read_mostly usesJoe Perches1-0/+10
2015-04-17checkpatch: improve operator spacing checkSam Bobroff1-1/+1
2015-04-17checkpatch: add 'Prefer ARRAY_SIZE" testJoe Perches1-0/+13
2015-04-17checkpatch: add uart_ops to normally const structsJoe Perches1-0/+1
2015-04-17checkpatch: add #define foo "string" long line exceptionJoe Perches1-2/+3
2015-04-17checkpatch, SubmittingPatches: suggest line wrapping commit messages at 75 co...Joe Perches1-0/+9
2015-04-17checkpatch: don't ask for asm/file.h to linux/file.h unconditionallyFabian Frederick1-7/+11
2015-04-17checkpatch: add test for repeated const usesJoe Perches1-0/+18
2015-04-17checkpatch: improve return negative errno checkJoe Perches1-3/+3
2015-04-17checkpatch: match more world writable permissionsJoe Perches1-2/+10
2015-04-17checkpatch: add optional --codespell dictionary to find more typosJoe Perches1-4/+34
2015-04-17checkpatch: add spell checking of email subject lineJoe Perches1-1/+2
2015-04-17checkpatch: improve "no space is necessary after a cast" testJoe Perches1-2/+9
2015-02-13checkpatch: add of_device_id to structs that should be constJoe Perches1-3/+5
2015-02-13checkpatch: try to avoid poor patch subject linesJoe Perches1-0/+7
2015-02-13checkpatch: make sure a commit reference description uses parenthesesJoe Perches1-1/+5
2015-02-13checkpatch: add --strict test for spaces around arithmeticJoe Perches1-1/+16
2015-02-13checkpatch: neaten printk_ratelimited message positionJoe Perches1-1/+1
2015-02-13checkpatch: improve "no space necessary after cast" testJoe Perches1-1/+1
2015-02-13checkpatch: improve seq_print->seq_puts suggestionHeba Aamer1-1/+2
2015-02-13checkpatch: add ability to --fix unnecessary blank lines around bracesJoe Perches1-4/+10
2015-02-13checkpatch: add types for other OS typedefsJoe Perches1-0/+8
2015-02-13checkpatch: add ability to coalesce commit descriptions on multiple linesJoe Perches1-0/+7
2015-02-13checkpatch: add likely/unlikely comparison misuse testJoe Perches1-0/+7
2015-02-13checkpatch: update git commit messageJoe Perches1-13/+32
2015-02-13checkpatch: Allow comments in macros tested for single statementsJoe Perches1-0/+1
2015-02-13checkpatch: add check for keyword 'boolean' in Kconfig definitionsChristoph Jaeger1-0/+7
2015-02-13checkpatch: fix UNNECESSARY_KERN_LEVEL false positivePaolo Bonzini1-1/+1
2015-02-13checkpatch: ignore __pure $AttributeJoe Perches1-0/+1
2015-02-13checkpatch: improve octal permissions testsJoe Perches1-1/+5
2015-02-13checkpatch: emit an error when using predefined timestamp macrosJoe Perches1-0/+6
2014-12-10checkpatch: add ability to --fix (coalesce) string fragments on multiple linesJoe Perches1-46/+69
2014-12-10checkpatch: add --strict "pointer comparison to NULL" testJoe Perches1-0/+14
2014-12-10checkpatch: add test for consecutive string fragmentsJoe Perches1-0/+6
2014-12-10checkpatch: add --strict preference for #defines using BIT(foo)Joe Perches1-0/+11
2014-12-10checkpatch: allow certain SI units with three charactersJulius Werner1-1/+3
2014-12-10checkpatch: Add --strict test for function pointer calling styleJoe Perches1-3/+21
2014-12-10checkpatch: reduce MAINTAINERS update message frequencyJoe Perches1-0/+6
2014-12-10checkpatch: try to avoid mask and shift errorsJoe Perches1-0/+8
2014-12-10checkpatch: fix use via symlink, make missing spelling file non-fatalJoe Perches1-17/+21
2014-12-10checkpatch: improve warning message for "needless if" caseFabio Estevam1-1/+1
2014-12-10checkpatch: improve test for no space after castJoe Perches1-1/+2
2014-12-10checkpatch: add error on use of attribute((weak)) or __weak declarationsJoe Perches1-0/+9
2014-12-10checkpatch: add an error test for no space before commaJoe Perches1-2/+21
2014-10-14checkpatch: warn on logging functions with KERN_<LEVEL>Joe Perches1-0/+11
2014-10-14checkpatch: add exception to return then else testJoe Perches1-1/+5
2014-10-14checkpatch: look for common misspellingsKees Cook1-1/+43
2014-10-14checkpatch: warn on macros with flow control statementsJoe Perches1-0/+18
2014-10-14checkpatch: remove unnecessary + after {8,8}Joe Perches1-1/+1
2014-10-14checkpatch: add --strict test for concatenated string elementsJoe Perches1-0/+6
2014-10-14checkpatch: allow optional shorter config descriptionsVadim Bendebury1-2/+7
2014-10-14checkpatch: enable whitespace checks for DTS filesGeert Uytterhoeven1-2/+2
2014-10-14checkpatch: update $allowed_asm_includes macros, add reboot.h and time.hSergey Ryazanov1-1/+3
2014-10-14checkpatch: remove debugging messageJoe Perches1-1/+0
2014-10-14checkpatch: fix spelloAndrew Morton1-1/+1
2014-09-10checkpatch: allow commit descriptions on separate line from commit idJoe Perches1-1/+4
2014-08-29checkpatch: relax check for length of git commit IDsJoe Perches1-2/+2
2014-08-06checkpatch: update $declaration_macros, add uninitialized_varJoe Perches1-5/+6
2014-08-06checkpatch: warn on missing spaces in broken up quotedDan Carpenter1-0/+6
2014-08-06checkpatch: fix false positives for --strict "space after cast" testJoe Perches1-1/+1
2014-08-06checkpatch: fix false positive MISSING_BREAK warnings with --fileJoe Perches1-2/+2
2014-08-06checkpatch: add test for native c90 types in unusual orderJoe Perches1-0/+44
2014-08-06checkpatch: add signed generic typesJoe Perches1-9/+9
2014-08-06checkpatch: add short int to c variable typesJoe Perches1-0/+1
2014-08-06checkpatch: add for_each tests to indentation and brace testsJoe Perches1-2/+2
2014-08-06checkpatch: fix brace style misuses of else and whileJoe Perches1-8/+30
2014-08-06checkpatch: add --fix option for a couple OPEN_BRACE misusesJoe Perches1-5/+28
2014-08-06checkpatch: use the correct indentation for which()Joe Perches1-6/+6
2014-08-06checkpatch: add fix_insert_line and fix_delete_line helpersJoe Perches1-36/+29
2014-08-06checkpatch: add ability to insert and delete lines to patch/fileJoe Perches1-11/+130
2014-08-06checkpatch: add an index variable for fixed linesJoe Perches1-54/+60
2014-08-06checkpatch: warn on break after goto or return with same tab indentationJoe Perches1-0/+10
2014-08-06checkpatch: emit a warning on file add/move/deleteJoe Perches1-1/+12
2014-08-06checkpatch: add test for commit id formatting style in commit logJoe Perches1-0/+54
2014-08-06checkpatch: emit fewer kmalloc_array/kcalloc conversion warningsJoe Perches1-8/+9
2014-08-06checkpatch: improve "no space after cast" testJoe Perches1-3/+3
2014-08-06checkpatch: allow multiple const * typesJoe Perches1-1/+1
2014-08-06checkpatch: warn on unnecessary parentheses around references of foo->barJoe Perches1-0/+8
2014-08-06checkpatch: quiet Kconfig help message checkingJoe Perches1-3/+4
2014-08-06checkpatch: change blank line after declaration type to "LINE_SPACING"Joe Perches1-1/+1
2014-08-06checkpatch: add a multiple blank lines testJoe Perches1-0/+11
2014-08-06checkpatch: add test for blank lines after function/struct/union/enumJoe Perches1-0/+16
2014-08-06checkpatch.pl: also suggest 'else if' when if follows braceRasmus Villemoes1-1/+1
2014-08-06checkpatch: ignore email headers betterJoe Perches1-2/+3
2014-08-06checkpatch: fix function pointers in blank line needed after declarations testJoe Perches1-0/+4
2014-08-06checkpatch: fix complex macro false positive for escaped constant charJoe Perches1-1/+1
2014-08-06checkpatch: warn on unnecessary else after return or breakJoe Perches1-0/+10
2014-08-06checkpatch: attempt to find unnecessary 'out of memory' messagesJoe Perches1-0/+17
2014-06-23checkpatch: reduce false positives when checking void function return statementsJoe Perches1-5/+10
2014-06-04scripts/checkpatch.pl: device_initcall is not the only __initcall substituteFabian Frederick1-2/+2
2014-06-04checkpatch: check stable email addressJoe Perches1-0/+6
2014-06-04checkpatch: warn on unnecessary void function return statementsJoe Perches1-0/+7
2014-06-04checkpatch: prefer kstrto<foo> to sscanf(buf, "%<lhuidx>", &bar);Joe Perches1-0/+21
2014-06-04checkpatch: add warning for kmalloc/kzalloc with multiplyJoe Perches1-0/+24
2014-06-04checkpatch: warn on #defines ending in semicolonJoe Perches1-0/+11
2014-06-04checkpatch: make --strict a default for files in drivers/net and net/Joe Perches1-0/+13
2014-06-04checkpatch: always warn on missing blank line after variable declaration blockJoe Perches1-10/+34
2014-06-04checkpatch: fix wildcard DT compatible string checkingRob Herring1-2/+4
2014-04-03checkpatch: don't warn on bitfield spaces around :Joe Perches1-2/+5
2014-04-03checkpatch: expand parenthesis alignment test to declarations, functions and ...Joe Perches1-4/+6
2014-04-03checkpatch.pl: add check for Change-IdChristopher Covington1-0/+6
2014-04-03scripts/checkpatch.pl: __GFP_NOFAIL isn't going awayAndrew Morton1-6/+0
2014-04-03checkpatch: net and drivers/net: warn on missing blank line after variable de...Joe Perches1-0/+15
2014-04-03checkpatch: improve the compatible vendor matchFlorian Vaussard1-5/+5
2014-04-03checkpatch: check compatible strings in .c and .h tooFlorian Vaussard1-2/+4
2014-04-03checkpatch: fix spurious vendor compatible warningsFlorian Vaussard1-2/+2
2014-04-03checkpatch: check vendor compatible with dashesFlorian Vaussard1-1/+1
2014-04-03checkpatch: improve octal permissions test speedJoe Perches1-20/+31
2014-04-03checkpatch.pl: modify warning message for printk usageYogesh Chaudhari1-1/+1
2014-04-03checkpatch: make "return is not a function" test quieterJoe Perches1-7/+15
2014-04-03checkpatch: ignore networking block comment style first lines in fileJoe Perches1-1/+2
2014-04-03checkpatch: use a more consistent function argument styleJoe Perches1-9/+20
2014-04-03checkpatch: add test for char * arrays that could be static constJoe Perches1-0/+7
2014-04-03checkpatch: fix jiffies comparison and othersJoe Perches1-1/+1
2014-04-03checkpatch: avoid sscanf test duplicated messagesJoe Perches1-1/+1
2014-04-03checkpatch: update octal permissions warningJoe Perches1-2/+4
2014-04-03checkpatch: warn on uses of __constant_<foo> functionsJoe Perches1-0/+13
2014-04-03checkpatch: add checks for constant non-octal permissionsJoe Perches1-2/+34
2014-04-03checkpatch: don't warn on some function pointer return stylesJoe Perches1-10/+21
2014-04-03checkpatch: add test for long udelayJoe Perches1-3/+8
2014-02-10checkpatch: fix detection of git repositoryRichard Genoud1-2/+2
2014-01-27checkpatch.pl: check for function declarations without argumentsJoe Perches1-0/+9
2014-01-23checkpatch: prefer ether_addr_copy to memcpy(foo, bar, ETH_ALEN)Joe Perches1-0/+10
2014-01-23checkpatch: add DT compatible string documentation checksRob Herring1-0/+27
2014-01-23checkpatch: only flag FSF address, not gnu.org URLAlexander Duyck1-3/+1
2014-01-23checkpatch: add tests for function pointer style misusesJoe Perches1-0/+59
2014-01-23checkpatch: update the FSF/GPL address checkJoe Perches1-5/+6
2014-01-23checkpatch: check for if's with unnecessary parenthesesJoe Perches1-0/+14
2014-01-23checkpatch: improve space before tab --fix optionJoe Perches1-2/+4
2014-01-23checkpatch: add a --fix-inplace optionJoe Perches1-1/+9
2014-01-23checkpatch: attempt to find missing switch/case break;Joe Perches1-0/+25
2014-01-23checkpatch: add warning of future __GFP_NOFAIL useDavid Rientjes1-0/+6
2014-01-23checkpatch: warn only on "space before semicolon" at end of lineJoe Perches1-1/+1
2014-01-23checkpatch: more comprehensive split strings warningJoe Perches1-8/+4
2013-12-13PCI/checkpatch: Deprecate DEFINE_PCI_DEVICE_TABLEJoe Perches1-4/+7
2013-11-21checkpatch: fix "Use of uninitialized value" warningsJoe Perches1-0/+1
2013-11-13checkpatch: add check for sscanf without return useJoe Perches1-0/+17
2013-11-13checkpatch: don't require kernel style __attribute__ shortcuts in uapi pathsJoe Perches1-7/+12
2013-11-13checkpatch: improve "return is not a function" testJoe Perches1-14/+4
2013-11-13checkpatch.pl: check for the FSF mailing addressJosh Triplett1-0/+12
2013-11-13checkpatch: make the memory barrier test noisierJoe Perches1-2/+2
2013-11-13checkpatch: add rules to check init attribute and const defectsJoe Perches1-2/+34
2013-11-13checkpatch: add test for #defines of ARCH_HAS_<foo>Joe Perches1-8/+14
2013-11-13checkpatch: find CamelCase definitions of struct/union/enumJoe Perches1-2/+3
2013-11-13checkpatch: update seq_<foo> testsJoe Perches1-3/+4
2013-11-13checkpatch: extend CamelCase types and ignore existing CamelCase uses in a patchJoe Perches1-2/+10
2013-11-13checkpatch: report missing spaces around trigraphs with --strictJoe Perches1-9/+7
2013-09-24checkpatch: make extern in .h prototypes quieterJoe Perches1-2/+2
2013-09-11checkpatch: add test for positional misuse of section specifiers like __initdataJoe Perches1-1/+46
2013-09-11checkpatch: fix perl version 5.12 and earlier incompatibilityJoe Perches1-2/+2
2013-09-11checkpatch: reduce runtime/cpu time usedJoe Perches1-1/+3
2013-09-11checkpatch: better --fix of SPACING errors.Joe Perches1-22/+42
2013-09-11checkpatch: ignore #define TRACE_<foo> macrosJoe Perches1-1/+2
2013-09-11checkpatch: add --types option to report only specific message typesJoe Perches1-18/+38
2013-09-11checkpatch: fix networking kernel-doc block comment defectJoe Perches1-0/+1
2013-09-11checkpatch: warn when using extern with function prototypes in .h filesJoe Perches1-0/+10
2013-09-11checkpatch: check for duplicate signaturesJoe Perches1-0/+12
2013-09-11checkpatch: enforce sane perl versionDave Hansen1-0/+12
2013-09-11checkpatch: check CamelCase by word, not by $LvalJoe Perches1-5/+9
2013-09-11checkpatch: add a few more --fix correctionsJoe Perches1-38/+84
2013-07-09checkpatch: make the CamelCase cache work for non-git trees tooJoe Perches1-19/+35
2013-07-03checkpatch: cache last camelcase hash as .checkpatch-camelcase.<commit>Joe Perches1-0/+26
2013-07-03checkpatch: allow longer logging function namesJacob Keller1-1/+1
2013-07-03checkpatch: ignore existing CamelCase uses from include/...Joe Perches1-7/+50
2013-07-03checkpatch: ignore SI unit CamelCase variants like "_uV"Joe Perches1-0/+3
2013-07-03checkpatch: move test for space before semicolon after operator spacingJoe Perches1-10/+10