aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
AgeCommit message (Expand)AuthorFilesLines
2012-11-09checkpatch: improve network block comment style checkingJoe Perches1-2/+4
2012-10-06checkpatch: fix name of "MODULE_PARM_DESC"Kees Cook1-1/+1
2012-10-06checkpatch: check networking specific block comment styleJoe Perches1-0/+14
2012-10-06checkpatch: update suggested printk conversionsJoe Perches1-2/+4
2012-10-06checkpatch: check utf-8 content from a commit log when it's missing from charsetPasi Savanainen1-3/+12
2012-08-21checkpatch: add control statement test to SINGLE_STATEMENT_DO_WHILE_MACROJoe Perches1-1/+2
2012-07-30checkpatch: add checks for do {} while (0) macro misusesJoe Perches1-0/+39
2012-07-30checkpatch: Add acheck for use of sizeof without parenthesisJoe Perches1-0/+6
2012-07-30checkpatch: check usleep_range() argumentsJoe Perches1-0/+16
2012-07-30checkpatch: test for non-standard signaturesJoe Perches1-1/+5
2012-07-30checkpatch: Update alignment checkJoe Perches1-2/+2
2012-05-31checkpatch: suggest pr_<level> over printk(KERN_<LEVEL>Joe Perches1-0/+13
2012-05-31checkpatch: check for whitespace before semicolon at EOLEric Nelson1-0/+7
2012-04-16checkpatch: revert --strict test for net/ and drivers/net block comment styleJoe Perches1-6/+0
2012-03-23checkpatch: check for quoted strings broken across linesJosh Triplett1-0/+15
2012-03-23checkpatch: whitespace - add/remove blank linesJoe Perches1-1/+3
2012-03-23checkpatch: warn on use of yield()Joe Perches1-0/+6
2012-03-23checkpatch: add --strict tests for braces, comments and castsJoe Perches1-8/+32
2012-03-23checkpatch: add [] to type extensionsAndy Whitcroft1-1/+1
2012-03-23checkpatch: high precedence operators do not require additional parentheses i...Andy Whitcroft1-1/+1
2012-03-23checkpatch: handle string concatenation in simple #definesAndy Whitcroft1-0/+6
2012-03-23checkpatch: allow simple character constants in #definesAndy Whitcroft1-0/+1
2012-03-23checkpatch: catch [ ... ] usage when not at the beginning of definitionAndy Whitcroft1-1/+1
2012-03-23checkpatch.pl: be silent when -q and --ignore is givenArtem Bityutskiy1-3/+2
2012-03-23checkpatch: add some --strict coding style checksJoe Perches1-10/+84
2012-03-23include/ and checkpatch: prefer __scanf to __attribute__((format(scanf,...)Joe Perches1-0/+6
2012-02-07checkpatch: Warn on code with 6+ tab indentationJoe Perches1-0/+6
2012-01-10checkpatch: catch all occurences of type and cast spacing errors per lineAndy Whitcroft1-4/+7
2012-01-10checkpatch: typeof may have more complex argumentsAndy Whitcroft1-1/+1
2012-01-10checkpatch: ensure cast type is unique in the context parserAndy Whitcroft1-1/+1
2012-01-10checkpatch: fix complex macros handling of square bracketsAndy Whitcroft1-1/+1
2012-01-10checkpatch: fix 'return is not a function' square bracket handlingAndy Whitcroft1-1/+1
2012-01-10checkpatch: complex macro should allow the empty do while loopAndy Whitcroft1-1/+1
2012-01-10checkpatch: fix EXPORT_SYMBOL handling following a functionAndy Whitcroft1-1/+1
2012-01-10checkpatch: only apply kconfig help checks for options which promptAndy Whitcroft1-5/+12
2012-01-10checkpatch: optimise statement scanner when mid-statementAndy Whitcroft1-2/+20
2012-01-10checkpatch: ## is not a valid modifierAndy Whitcroft1-1/+3
2012-01-10checkpatch: improve memset and min/max with cast checkingJoe Perches1-36/+33
2012-01-10checkpatch: check for common memset parameter issues against statmentsAndy Whitcroft1-6/+22
2012-01-10checkpatch: correctly track the end of preprocessor commands in contextAndy Whitcroft1-51/+39
2012-01-10checkpatch: prefer __printf over __attribute__((format(printf,...)))Joe Perches1-0/+6
2012-01-10checkpatch: update signature "might be better as" warningJoe Perches1-2/+5
2011-11-06Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds1-0/+14
2011-10-31checkpatch: add a --strict check for utf-8 in commit logsJoe Perches1-4/+26
2011-10-31kernel.h/checkpatch: mark strict_strto<foo> and simple_strto<foo> as obsoleteJoe Perches1-3/+3
2011-09-15Merge branch 'master' into for-nextJiri Kosina1-1/+2
2011-09-15treewide: remove extra semicolons from various parts of the kernelJustin P. Mattock1-2/+2
2011-08-31script/checkpatch.pl: warn about deprecated use of EXTRA_{A,C,CPP,LD}FLAGSArnaud Lacombe1-0/+14
2011-08-25checkpatch: add missing WARN argument for min_t and max_t testsHui Zhu1-1/+2
2011-07-25checkpatch.pl: update $logFunctionsJoe Perches1-3/+3
2011-07-25checkpatch: make utf-8 test --strictJoe Perches1-2/+2
2011-07-25checkpatch.pl: add ability to ignore various messagesJoe Perches1-143/+355
2011-07-25checkpatch: add a "prefer __aligned" checkJoe Perches1-0/+5
2011-07-25checkpatch: validate signature styles and To: and Cc: linesJoe Perches1-8/+115
2011-07-25checkpatch: add __rcu as a sparse modifierSven Eckelmann1-1/+2
2011-07-25checkpatch: suggest using min_t or max_tJoe Perches1-0/+35
2011-06-15checkpatch: add warning for uses of printk_ratelimitJoe Perches1-0/+5
2011-05-25checkpatch: fix defect in printk(KERN_<LEVEL> 80 column exceptionsJoe Perches1-1/+1
2011-05-25checkpatch: add <foo>_<level> and MODULE_<BAR> to 80 column exceptionsJoe Perches1-3/+3
2011-05-25checkpatch: add check for line continuations in quoted stringsJoe Perches1-0/+5
2011-03-31Fix common misspellingsLucas De Marchi1-3/+3
2011-03-22checkpatch: warn about memset with swapped argumentsDave Jones1-0/+5
2011-03-22scripts/checkpatch.pl: reset rpt_cleaners warningsMike Frysinger1-0/+1
2011-03-22kstrto*: converting strings to integers done (hopefully) rightAlexey Dobriyan1-2/+2
2011-01-27locking: Remove deprecated lock initializersThomas Gleixner1-5/+0
2011-01-13checkpatch.pl: add "prefer __packed" checkJoe Perches1-0/+5
2011-01-13checkpatch: check for world-writeable sysfs/debugfs filesDave Jones1-0/+5
2011-01-13checkpatch.pl: fix CAST detectionFlorian Mickler1-1/+1
2011-01-13scripts/checkpatch.pl: add check for multiple terminating semicolons and cast...Joe Perches1-1/+6
2010-10-30semaphore: Remove mutex emulationThomas Gleixner1-6/+2
2010-10-26scripts/checkpatch.pl: add check for declaration of pci_device_idJoe Perches1-0/+5
2010-10-26scripts/checkpatch.pl: add warnings for static char that could be static cons...Joe Perches1-0/+12
2010-10-26checkpatch: version 0.31Andy Whitcroft1-1/+1
2010-10-26checkpatch: statement/block context analyser should look at sanitised linesAndy Whitcroft1-6/+6
2010-10-26checkpatch: handle EXPORT_SYMBOL for DEVICE_ATTR and similarAndy Whitcroft1-1/+10
2010-10-26checkpatch: clean up structure definition macro handlineAndy Whitcroft1-2/+2
2010-10-26checkpatch: update copyright datesAndy Whitcroft1-1/+1
2010-10-26checkpatch: Add additional attribute #definesJoe Perches1-0/+14
2010-10-26checkpatch: check for incorrect permissionsRabin Vincent1-1/+13
2010-10-26checkpatch: ensure kconfig help checks only apply when we are adding helpAndy Whitcroft1-5/+21
2010-10-26checkpatch: simplify and consolidate "missing space after" checksAndy Whitcroft1-10/+5
2010-10-26checkpatch: add check for space after struct, union, and enumAndy Whitcroft1-0/+10
2010-10-26checkpatch: returning errno typically should be negativeAndy Whitcroft1-0/+7
2010-10-26checkpatch: handle casts better fixing false categorisation of : as binaryAndy Whitcroft1-0/+5
2010-10-26checkpatch: ensure we do not collapse bracketed sections into constantsAndy Whitcroft1-3/+4
2010-10-26checkpatch: suggest cleanpatch and cleanfile when appropriateAndy Whitcroft1-0/+13
2010-10-26checkpatch: types may sit on a line on their ownAndy Whitcroft1-1/+1
2010-10-26checkpatch: fix regressions in "fix handling of leading spaces"Andy Whitcroft1-3/+6
2010-08-09checkpatch: fix extraneous EXPORT_SYMBOL* warningsPatrick Pannuto1-0/+3
2010-08-09checkpatch: warn about unexpectedly long msleep'sPatrick Pannuto1-0/+7
2010-08-09checkpatch: prefer usleep_range over udelayPatrick Pannuto1-0/+8
2010-08-09checkpatch: add more exceptions to 80 char linesJoe Perches1-2/+3
2010-08-09checkpatch: change externals to globalsJoe Eloff1-2/+2
2010-08-09checkpatch: fix handling of leading spacesRaffaele Recalcati1-0/+7
2010-08-09checkpatch: refactor 'allowed asm includes' and add memory.hWolfram Sang1-1/+7
2010-05-25checkpatch: warn on declaration with storage class not at the beginningTobias Klauser1-0/+5
2010-05-25checkpatch: add check for too short Kconfig descriptionsAndi Kleen1-0/+15
2010-05-21lockdep: Add novalidate class for dev->mutex conversionPeter Zijlstra1-0/+11
2010-03-06checkpatch: warn on unnecessary spaces before quoted newlinesJoe Perches1-0/+5
2010-03-06checkpatch.pl: warn if an adding line introduce spaces before tabs.Alberto Panizzo1-0/+6
2010-03-06checkpatch.pl: extend list of expected-to-be-const structuresEmese Revfy1-2/+39
2010-03-06checkpatch.pl: add union and struct to the exceptions listStefani Seibold1-0/+2
2010-03-06checkpatch: fix false positive on __initconstWolfram Sang1-1/+4
2010-03-06checkpatch.pl: allow > 80 char lines for logging functions not just printkJoe Perches1-1/+9
2010-03-06checkpatch: trivial fix for trailing statements checkHidetoshi Seto1-1/+3
2010-03-06scripts/checkpatch.pl: add WARN on sizeof(&foo)Joe Perches1-0/+5
2010-01-12remove my email address from checkpatch.Dave Jones1-1/+1
2009-10-29checkpatch: version 0.30Andy Whitcroft1-1/+1
2009-10-29checkpatch: fix false EXPORT_SYMBOL warningAndy Whitcroft1-9/+39
2009-10-29checkpatch: fix __attribute__ matchingAndy Whitcroft1-2/+2
2009-10-29checkpatch: fix false errors due to macro concatenationAndy Whitcroft1-1/+4
2009-10-29checkpatch: update copyright datesAndy Whitcroft1-1/+1
2009-10-29checkpatch: correctly stop scanning at the bottom of a hunkAndy Whitcroft1-1/+2
2009-10-29checkpatch: possible types -- prevent illegal modifiers being addedAndy Whitcroft1-8/+12
2009-09-22checkpatch: add some common Blackfin checksMike Frysinger1-0/+22
2009-09-22checkpatch: version 0.29Andy Whitcroft1-1/+1
2009-09-22checkpatch: limit sN/uN matches to actual bit sizesAndy Whitcroft1-2/+2
2009-09-22checkpatch: format strings should not have brackets in macrosAndy Whitcroft1-1/+2
2009-09-22checkpatch: make -f alias --file, add --help, more verbose help messageHannes Eder1-13/+42
2009-09-22checkpatch: indent checks -- stop when we run out of continuation linesAndy Whitcroft1-2/+3
2009-09-22checkpatch: handle C99 comments correctly (performance issue)Daniel Walker1-0/+13
2009-09-22checkpatch: possible types -- else cannot start a typeAndy Whitcroft1-0/+2
2009-02-27checkpatch: version 0.28Andy Whitcroft1-1/+1
2009-02-27checkpatch: add __ref as a sparse modifierAndy Whitcroft1-1/+2
2009-02-27checkpatch: extend attribute testing to all modifiersAndy Whitcroft1-2/+2
2009-02-27checkpatch: a modifier is not an identifier at the end of a typeAndy Whitcroft1-2/+2
2009-02-27checkpatch: pointer type star may have modifiers followingAndy Whitcroft1-2/+2
2009-02-27checkpatch: correctly handle type spacing in the face of modifiersAndy Whitcroft1-2/+2
2009-02-27checkpatch: do not warn about -p0 patches when checking filesAndy Whitcroft1-1/+2
2009-02-27checkpatch: make in_atomic ok in the coreAndy Whitcroft1-1/+1
2009-01-15checkpatch: version: 0.27Andy Whitcroft1-1/+1
2009-01-15checkpatch: struct seq_operations should normally be constAndy Whitcroft1-3/+4
2009-01-15checkpatch: if should not continue a preceeding braceAndy Whitcroft1-0/+5
2009-01-15checkpatch: allow parentheses on return handle array valuesAndy Whitcroft1-1/+5
2009-01-15checkpatch: type/cast spacing should not check prefix spacingAndy Whitcroft1-2/+2
2009-01-15checkpatch: handle missing #if open in contextAndy Whitcroft1-1/+3
2009-01-06checkpatch: version: 0.26Andy Whitcroft1-1/+1
2009-01-06checkpatch: fix the perlcritic errorsAndy Whitcroft1-7/+13
2009-01-06checkpatch: struct file_operations should normally be constAndy Whitcroft1-0/+5
2009-01-06checkpatch: ensure we actually detect if assignments split across linesAndy Whitcroft1-1/+1
2009-01-06checkpatch: do not report nr_static as a static declarationAndy Whitcroft1-1/+1
2009-01-06checkpatch: track #ifdef/#else/#endif when tracking blocksAndy Whitcroft1-0/+22
2009-01-06checkpatch: fix continuation detection when handling spacing on operatorsAndy Whitcroft1-1/+1
2009-01-06checkpatch: loosen spacing on typedef function checksAndy Whitcroft1-1/+1
2009-01-06checkpatch: try to catch missing VMLINUX_SYMBOL() in vmlinux.lds.hMike Frysinger1-0/+9
2009-01-06checkpatch: allow parentheses on return for comparisonsAndy Whitcroft1-2/+3
2009-01-06checkpatch: Add warning for p0-patchesWolfram Sang1-1/+7
2009-01-06checkpatch: update copyrightsAndy Whitcroft1-1/+2
2009-01-06checkpatch: version: 0.25Andy Whitcroft1-1/+1
2009-01-06checkpatch: dissallow spaces between stars in pointer typesAndy Whitcroft1-14/+32
2009-01-06checkpatch: comment ends inside strings is most likely not an open commentAndy Whitcroft1-3/+6
2009-01-06checkpatch: detect multiple bitfield declarationsAndy Whitcroft1-5/+9
2009-01-06checkpatch: __weak is an official attributeAndy Whitcroft1-1/+2
2009-01-06checkpatch: structure member assignments are not complexAndy Whitcroft1-2/+3
2009-01-06checkpatch: widen implied comment detection to allow multiple starsAndy Whitcroft1-1/+1
2009-01-06checkpatch: comment detection may miss an implied comment on the last hunkAndy Whitcroft1-2/+2
2009-01-06checkpatch: add checks for in_atomic()Andy Whitcroft1-0/+9
2008-10-20Update email addresses.Dave Jones1-1/+1
2008-10-16checkpatch: version: 0.24Andy Whitcroft1-1/+1
2008-10-16checkpatch: allow for comments either side of a brace on caseAndy Whitcroft1-1/+1
2008-10-16checkpatch: suspect indent handle macro continuationAndy Whitcroft1-1/+4
2008-10-16checkpatch: trailing statements ensure we report the end of the lineAndy Whitcroft1-1/+10
2008-10-16checkpatch: DEFINE_ macros are real definitions for exportsAndy Whitcroft1-7/+8
2008-10-16checkpatch: complex macros checks miss square bracketsAndy Whitcroft1-3/+4
2008-10-16checkpatch: suspect code indent must stop at #else/#elifAndy Whitcroft1-0/+6
2008-10-16checkpatch: pull out known acceptable typedefsAndy Whitcroft1-1/+7
2008-10-16checkpatch: accept any sized le/be typeAndy Whitcroft1-1/+1
2008-10-16checkpatch: macros which define structure members are not complexAndy Whitcroft1-0/+1
2008-10-16checkpatch: handle do without braces if we have enough contextAndy Whitcroft1-3/+24
2008-10-16checkpatch: labels are not possible typesAndy Whitcroft1-1/+1
2008-10-16checkpatch: do is not a possible typeAndy Whitcroft1-6/+18
2008-10-16checkpatch: version: 0.23Andy Whitcroft1-1/+1
2008-10-16checkpatch: ensure we only apply checks to the lines within hunksAndy Whitcroft1-2/+3
2008-10-16checkpatch: suspect indent count condition lines correctlyAndy Whitcroft1-1/+2
2008-10-16checkpatch: check line endings in text format filesAndy Whitcroft1-3/+4
2008-10-16checkpatch: handle comment/quote nesting correctlyAndy Whitcroft1-1/+1
2008-10-16checkpatch: suppress errors triggered by short patchAndy Whitcroft1-0/+1
2008-10-16checkpatch: case/default checks should only check changed linesAndy Whitcroft1-8/+9
2008-10-16checkpatch: version: 0.22Andy Whitcroft1-1/+1
2008-10-16checkpatch: perform indent checks on perlAndy Whitcroft1-2/+5
2008-10-16checkpatch: report the correct lines for single statement blocksAndy Whitcroft1-3/+3
2008-10-16checkpatch: %Lx tests should hand %% as a literalAndy Whitcroft1-0/+1
2008-10-16checkpatch: suspect indent -- skip over preprocessor, label and blank linesAndy Whitcroft1-10/+15
2008-10-16checkpatch: report the real first line of all suspect indentsAndy Whitcroft1-55/+86
2008-10-16checkpatch: report any absolute references to kernel source filesAndy Whitcroft1-0/+41
2008-10-16checkpatch: reduce warnings for #include of asm/foo.h to check from arch/bar.cAndy Whitcroft1-4/+9
2008-10-16checkpatch: include/asm checks should be anchoredAndy Whitcroft1-1/+1
2008-10-16checkpatch: fix up comment checks search to scan the entire blockAndy Whitcroft1-3/+8
2008-10-16checkpatch: complex macros -- fix up extension handlingAndy Whitcroft1-2/+2
2008-10-16checkpatch: ____cacheline_aligned et al are modifiersAndy Whitcroft1-1/+4
2008-10-16checkpatch: add tests for the attribute matcherAndy Whitcroft1-0/+10
2008-10-16checkpatch: switch indent allow plain returnAndy Whitcroft1-1/+5
2008-10-16checkpatch: conditional indent -- labels have different indent rulesAndy Whitcroft1-3/+8
2008-10-16checkpatch: values: double ampersand may be unaryAndy Whitcroft1-2/+2
2008-10-16checkpatch: square brackets -- exemption for array slices in bracesAndy Whitcroft1-2/+4
2008-07-24checkpatch: version 0.21Andy Whitcroft1-1/+1
2008-07-24checkpatch: types cannot start mid word for pointer testsAndy Whitcroft1-2/+2
2008-07-24checkpatch: complex macros need to ignore commentsAndy Whitcroft1-0/+1
2008-07-24checkpatch: variants -- move the main unary/binary operators to use variantsAndy Whitcroft1-18/+18
2008-07-24checkpatch: add checks for question mark and colon spacingAndy Whitcroft1-9/+72