aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
AgeCommit message (Expand)AuthorFilesLines
2021-05-06checkpatch: improve ALLOC_ARRAY_ARGS testChristophe JAILLET1-1/+1
2021-05-06checkpatch: exclude four preprocessor sub-expressions from MACRO_ARG_REUSEVincent Mailhol1-1/+1
2021-05-06checkpatch: warn when missing newline in return sysfs_emit() formatsJoe Perches1-0/+11
2021-04-28Merge tag 'devicetree-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2021-04-28Merge tag 'drm-next-2021-04-28' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-2/+4
2021-04-07docs: dt: update writing-schema.rst referencesMauro Carvalho Chehab1-1/+1
2021-03-16Merge tag 'drm-misc-next-2021-03-03' of git://anongit.freedesktop.org/drm/drm...Dave Airlie1-2/+4
2021-03-06checkpatch: add verbose modeDwaipayan Ray1-20/+113
2021-02-26checkpatch: do not apply "initialise globals to 0" check to BPF progsSong Liu1-1/+11
2021-02-26checkpatch: don't warn about colon termination in linker scriptsChris Down1-1/+1
2021-02-26checkpatch: add kmalloc_array_node to unnecessary OOM message checkJoe Perches1-1/+1
2021-02-26checkpatch: add warning for avoiding .L prefix symbols in assembly filesAditya Srivastava1-0/+7
2021-02-26checkpatch: improve TYPECAST_INT_CONSTANT test messageJoe Perches1-10/+10
2021-02-26checkpatch: prefer ftrace over function entry/exit printksJoe Perches1-0/+35
2021-02-26checkpatch: trivial style fixesDwaipayan Ray1-9/+9
2021-02-26checkpatch: ignore warning designated initializers using NR_CPUSPeng Wang1-1/+3
2021-02-26checkpatch: improve blank line after declaration testJoe Perches1-23/+29
2021-02-23Merge tag 'modules-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-4/+2
2021-02-17lib/vsprintf: Add support for printing V4L2 and DRM fourccsSakari Ailus1-2/+4
2021-02-12Merge branch 'linus' into locking/core, to pick up upstream fixesIngo Molnar1-7/+0
2021-02-10checkpatch: Don't check for mutex_trylock_recursive()Sebastian Andrzej Siewior1-6/+0
2021-02-08module: remove EXPORT_UNUSED_SYMBOL*Christoph Hellwig1-4/+2
2021-01-28Revert "checkpatch: add check for keyword 'boolean' in Kconfig definitions"Masahiro Yamada1-7/+0
2020-12-29checkpatch: prefer strscpy to strlcpyJoe Perches1-0/+6
2020-12-15checkpatch: add printk_once and printk_ratelimit to prefer pr_<level> warningJoe Perches1-3/+10
2020-12-15checkpatch: fix TYPO_SPELLING check for words with apostropheDwaipayan Ray1-2/+5
2020-12-15checkpatch: add warning for lines starting with a '#' in commit logDwaipayan Ray1-0/+9
2020-12-15checkpatch: add warning for unnecessary use of %h[xudi] and %hh[xudi]Dwaipayan Ray1-0/+22
2020-12-15checkpatch: add fix and improve warning msg for non-standard signatureAditya Srivastava1-2/+69
2020-12-15checkpatch: add fix option for LOGICAL_CONTINUATIONSAditya Srivastava1-2/+10
2020-12-15checkpatch: add fix option for ASSIGNMENT_CONTINUATIONSAditya Srivastava1-2/+8
2020-12-15checkpatch: fix unescaped left braceDwaipayan Ray1-1/+1
2020-12-15checkpatch: avoid COMMIT_LOG_LONG_LINE warning for signature tagsAditya Srivastava1-2/+2
2020-12-15checkpatch: fix spelling errors and remove repeated wordDwaipayan Ray1-3/+3
2020-12-15checkpatch: improve email parsingDwaipayan Ray1-17/+91
2020-12-15checkpatch: add __alias and __weak to suggested __attribute__ conversionsJoe Perches1-1/+3
2020-12-15checkpatch: add fix option for GERRIT_CHANGE_IDAditya Srivastava1-2/+5
2020-12-15checkpatch: update __attribute__((section("name"))) quote removalJoe Perches1-32/+15
2020-12-15checkpatch: add a fixer for missing newline at eofTom Rix1-2/+5
2020-12-15checkpatch: extend attributes check to handle more patternsDwaipayan Ray1-38/+71
2020-12-15checkpatch: allow --fix removal of unnecessary break statementsJoe Perches1-4/+8
2020-12-15checkpatch: prefer static const declarationsJoe Perches1-0/+12
2020-12-15checkpatch: ignore generated CamelCase defines and enum valuesŁukasz Stelmach1-0/+2
2020-12-15checkpatch: fix false positives in REPEATED_WORD warningAditya Srivastava1-1/+15
2020-12-15checkpatch: add new exception to repeated word checkDwaipayan Ray1-2/+13
2020-10-25checkpatch: enable GIT_DIR environment use to set git repository locationJoe Perches1-5/+7
2020-10-16checkpatch: add new warnings to author signoff checks.Dwaipayan Ray1-16/+77
2020-10-16checkpatch: fix false positive on empty block comment linesŁukasz Stelmach1-1/+1
2020-10-16checkpatch: fix multi-statement macro checks for while blocks.Dwaipayan Ray1-3/+4
2020-10-16checkpatch: emit a warning on embedded filenamesJoe Perches1-0/+6
2020-10-16checkpatch: extend author Signed-off-by check for split From: headerDwaipayan Ray1-0/+4
2020-10-16checkpatch: allow not using -f with files that are in gitJoe Perches1-0/+14
2020-10-16checkpatch: warn on self-assignmentsJoe Perches1-0/+11
2020-10-16checkpatch: warn if trace_printk and friends are calledNicolas Boichat1-0/+6
2020-10-16checkpatch: add test for comma use that should be semicolonJoe Perches1-0/+11
2020-10-16checkpatch: move repeated word testJoe Perches1-36/+36
2020-10-16checkpatch: add --kconfig-prefixJerome Forissier1-4/+8
2020-09-05checkpatch: fix the usage of capture group ( ... )Mrinal Pandey1-2/+2
2020-08-14Merge tag 'kconfig-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-5/+1
2020-08-14Revert "checkpatch: kconfig: prefer 'help' over '---help---'"Masahiro Yamada1-5/+1
2020-08-12checkpatch: remove missing switch/case break testJoe Perches1-25/+0
2020-08-12checkpatch: add test for repeated wordsJoe Perches1-0/+38
2020-08-12checkpatch: fix CONST_STRUCT when const_structs.checkpatch is missingQuentin Monnet1-9/+12
2020-08-12checkpatch: add --fix option for ASSIGN_IN_IFJoe Perches1-2/+24
2020-08-12checkpatch: add test for possible misuse of IS_ENABLED() without CONFIG_Joe Perches1-0/+6
2020-08-04Merge tag 'uninit-macro-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-11/+5
2020-07-21checkpatch: Remove checks relating to [smp_]read_barrier_depends()Will Deacon1-8/+1
2020-07-16checkpatch: Remove awareness of uninitialized_var() macroKees Cook1-11/+5
2020-06-11Merge tag 'locking-kcsan-2020-06-11' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+8
2020-06-11Rebase locking/kcsan to locking/urgentThomas Gleixner1-0/+8
2020-06-10checkpatch: correct check for kernel parameters docTim Froidcoeur1-2/+2
2020-06-04Merge tag 'devicetree-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2020-06-04checkpatch: use patch subject when reading from stdinGeert Uytterhoeven1-0/+1
2020-06-04checkpatch: disallow --git and --file/--fixJoe Perches1-2/+4
2020-06-04checkpatch: look for c99 comments in ctx_locate_commentJoe Perches1-1/+9
2020-06-04checkpatch: additional MAINTAINER section entry ordering checksJoe Perches1-8/+37
2020-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+9
2020-05-31checkpatch/coding-style: deprecate 80-column warningJoe Perches1-5/+9
2020-05-11checkpatch: warn about uses of ENOTSUPPJakub Kicinski1-0/+11
2020-05-08Merge branch 'kcsan-for-tip' of git://git.kernel.org/pub/scm/linux/kernel/git...Thomas Gleixner1-0/+8
2020-05-06checkpatch: Warn about data_race() without commentMarco Elver1-0/+8
2020-05-04docs: dt: convert submitting-patches.txt to ReST formatMauro Carvalho Chehab1-1/+1
2020-04-21checkpatch: fix a typo in the regex for $allocFunctionsChristophe JAILLET1-1/+1
2020-04-07checkpatch: avoid warning about uninitialized_var()Joe Perches1-5/+9
2020-04-07checkpatch: check proper licensing of Devicetree bindingsLubomir Rintel1-0/+11
2020-04-07checkpatch: improve Gerrit Change-Id: testJoe Perches1-3/+10
2020-04-07checkpatch: add command-line option for TAB sizeAntonio Borneo1-10/+16
2020-04-07checkpatch: fix multiple const * typesAntonio Borneo1-2/+2
2020-04-07checkpatch: fix minor typo and mixed space+tab in indentationAntonio Borneo1-4/+4
2020-04-07checkpatch: prefer fallthrough; over fallthrough commentsJoe Perches1-0/+36
2020-04-07checkpatch: support "base-commit:" formatJohn Hubbard1-1/+1
2020-04-07checkpatch: check SPDX tags in YAML filesLubomir Rintel1-1/+1
2020-04-07checkpatch: remove email address comment from email address comparisonsJoe Perches1-10/+29
2019-12-09Merge tag 'printk-for-5.5-pr-warning-removal' of git://git.kernel.org/pub/scm...Linus Torvalds1-9/+0
2019-12-06checkpatch: Drop pr_warning checkKefeng Wang1-9/+0
2019-12-04checkpatch: reduce is_maintained_obsolete lookup runtimeJoe Perches1-2/+6
2019-12-04checkpatch: improve ignoring CamelCase SI style variants like mAJoe Perches1-2/+3
2019-12-02Merge tag 'devicetree-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+8
2019-11-26Merge tag 'devprop-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+6
2019-11-25Merge tag 'printk-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+1
2019-11-14checkpatch: don't warn about new vsprintf pointer extension '%pe'Uwe Kleine-König1-1/+1
2019-10-11checkpatch: Warn if DT bindings are not in schema formatRob Herring1-0/+8
2019-10-11lib/vsprintf: Add %pfw conversion specifier for printing fwnode namesSakari Ailus1-2/+6
2019-10-11lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %psSakari Ailus1-1/+0
2019-09-25checkpatch: check for nested (un)?likely() callsDenis Efremov1-0/+6
2019-09-25checkpatch: make git output use LANGUAGE=en_US.utf8Joe Perches1-4/+6
2019-09-25checkpatch: remove obsolete period from "ambiguous SHA1" querySean Christopherson1-1/+1
2019-09-25checkpatch: allow consecutive close bracesJoe Perches1-1/+1
2019-09-25checkpatch: prefer __section over __attribute__((section(...)))Joe Perches1-0/+12
2019-09-25checkpatch: exclude sizeof sub-expressions from MACRO_ARG_REUSEBrendan Jackman1-1/+1
2019-09-25checkpatch.pl: warn on invalid commit idMatteo Croce1-0/+11
2019-09-25checkpatch: improve SPDX license checkingJoe Perches1-9/+9
2019-09-25checkpatch: don't interpret stack dumps as commit IDsJoe Perches1-2/+4
2019-07-16checkpatch.pl: warn on duplicate sysctl local variableMatteo Croce1-0/+6
2019-06-14docs: timers: convert docs to ReST and rename to *.rstMauro Carvalho Chehab1-4/+4
2019-05-22checkpatch.pl: Update DT vendor prefix checkRob Herring1-2/+2
2019-05-08Merge tag 'docs-5.2' of git://git.lwn.net/linuxLinus Torvalds1-0/+18
2019-03-29checkpatch: add %pt as a valid vsprintf extensionAlexandre Belloni1-1/+1
2019-03-25checkpatch: Warn on improper usage of Co-developed-bySean Christopherson1-0/+18
2019-03-09Merge tag 'docs-5.1' of git://git.lwn.net/linuxLinus Torvalds1-13/+0
2019-03-07checkpatch: add test for SPDX-License-Identifier on wrong line #Joe Perches1-0/+8
2019-03-07checkpatch: allow reporting C99 style commentsVadim Bendebury1-1/+2
2019-03-07checkpatch: add some new alloc functions to various testsJoe Perches1-4/+15
2019-03-07checkpatch: verify SPDX comment styleJoe Perches1-0/+8
2019-01-20coding-style: Clarify the expectations around boolJason Gunthorpe1-13/+0
2019-01-04checkpatch: add Co-developed-by to signature tagsJorge Ramirez-Ortiz1-0/+1
2019-01-04checkpatch: warn on const char foo[] = "bar"; declarationsJoe Perches1-2/+11
2018-11-12checkpatch.pl: Suggest lockdep instead of asserting !spin_is_locked()Paul E. McKenney1-0/+6
2018-11-12checkpatch: Create table of obsolete APIs and apply to RCUJoe Perches1-0/+29
2018-10-31checkpatch: remove GCC_BINARY_CONSTANT warningChristophe Leroy1-11/+0
2018-09-04checkpatch: add __ro_after_init to known $AttributeJoe Perches1-0/+1
2018-09-04checkpatch: add optional static const to blank line declarations testJoe Perches1-1/+1
2018-08-22checkpatch: DT bindings should be a separate patchRob Herring1-0/+14
2018-08-22checkpatch: warn on unnecessary int declarationsJoe Perches1-0/+20
2018-08-22checkpatch: check for space after "else" keywordMichal Zylowski1-2/+2
2018-08-22checkpatch: fix SPDX license check with --root=<path>Joe Perches1-2/+3
2018-08-22checkpatch: warn when a patch doesn't have a descriptionJoe Perches1-0/+13
2018-08-22checkpatch: check for #if 0/#if 1Prakruthi Deepak Heragu1-3/+8
2018-08-22checkpatch: fix krealloc reuse testJoe Perches1-1/+2
2018-08-22checkpatch: validate SPDX license with spdxcheck.pyJoe Perches1-2/+18
2018-08-22checkpatch: fix macro argument reuse testJoe Perches1-0/+1
2018-08-22checkpatch: warn if missing author Signed-off-byGeert Uytterhoeven1-3/+25
2018-08-22checkpatch: update section keywordsGeert Uytterhoeven1-1/+2
2018-08-22checkpatch: improve runtime execution speed a littleJoe Perches1-33/+33
2018-08-22checkpatch: add --fix for CONCATENATED_STRING and STRING_FRAGMENTSJoe Perches1-5/+18
2018-08-22checkpatch: add a --strict test for structs with bool member definitionsJoe Perches1-0/+7
2018-07-14checkpatch: fix duplicate invalid vsprintf pointer extension '%p<foo>' messagesJoe Perches1-3/+3
2018-06-27checkpatch: remove warning for 'old' stable@kernel.org addressLinus Torvalds1-6/+0
2018-06-07checkpatch: improve patch recognitionJoe Perches1-0/+8
2018-06-07scripts: use SPDX tag in get_maintainer and checkpatchJoe Perches1-1/+3
2018-06-06Merge tag 'kbuild-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-10/+0
2018-05-25checkpatch: fix macro argument precedence testJoe Perches1-1/+1
2018-05-17checkpatch: remove VMLINUX_SYMBOL() checkMasahiro Yamada1-10/+0
2018-04-11checkpatch: whinge about bool bitfieldsJoe Perches1-0/+6
2018-04-11checkpatch: allow space between colon and bracketHeinrich Schuchardt1-1/+1
2018-04-11checkpatch: add test for assignment at start of lineJoe Perches1-0/+6
2018-04-11checkpatch: test SYMBOLIC_PERMS multiple times per lineJoe Perches1-1/+1
2018-04-11checkpatch: two spelling fixesClaudio Fontana1-1/+1
2018-04-11checkpatch: improve get_quoted_string for TRACE_EVENT macrosJoe Perches1-1/+2
2018-04-11checkpatch: warn for use of %pxTobin C. Harding1-16/+32
2018-04-11checkpatch: add sub routine get_stat_here()Tobin C. Harding1-32/+20
2018-04-11checkpatch: remove unused variable declarationsTobin C. Harding1-2/+0
2018-04-11checkpatch: add sub routine get_stat_real()Tobin C. Harding1-16/+16
2018-04-11checkpatch: add Crypto ON_STACK to declaration_macrosGilad Ben-Yossef1-1/+2
2018-04-11checkpatch.pl: add SPDX license tag checkRob Herring1-0/+27
2018-04-11checkpatch: improve parse_email signature checkingJoe Perches1-1/+1
2018-04-03Merge tag 'kconfig-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ma...Linus Torvalds1-4/+17
2018-03-26checkpatch: kconfig: prefer 'help' over '---help---'Ulf Magnusson1-1/+5
2018-03-26checkpatch: kconfig: check help texts for menuconfig and choiceUlf Magnusson1-2/+11
2018-03-26checkpatch: kconfig: recognize more prompts when checking help textsUlf Magnusson1-1/+1
2018-03-16arch: remove blackfin portArnd Bergmann1-26/+0
2018-02-06checkpatch: improve OPEN_BRACE testJoe Perches1-3/+5
2018-02-06checkpatch: avoid some false positives for TABSTOP declaration testJoe Perches1-1/+1
2018-02-06checkpatch: exclude drivers/staging from if with unnecessary parentheses testJoe Perches1-1/+3
2018-02-06checkpatch: improve the TABSTOP test to include declarationsJoe Perches1-1/+1
2018-02-06checkpatch: add a few DEVICE_ATTR style testsJoe Perches1-21/+93
2018-02-06checkpatch: improve quoted string and line continuation testJoe Perches1-1/+1
2018-02-06checkpatch: ignore some octal permissions of 0Joe Perches1-2/+7
2018-02-06checkpatch: allow long lines containing URLAndreas Brauchli1-0/+5
2018-02-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pml...Linus Torvalds1-2/+9
2018-01-09checkpatch: add pF/pf deprecation warningSergey Senozhatsky1-2/+9
2018-01-03Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-0/+6
2017-12-12checkpatch: Remove ACCESS_ONCE() warningMark Rutland1-22/+0
2017-12-05checkpatch: Add warnings for {smp_,}read_barrier_depends()Paul E. McKenney1-0/+6
2017-11-29vsprintf: add printk specifier %pxTobin C. Harding1-1/+1
2017-11-17checkpatch: do not check missing blank line before builtin_*_driverMasahiro Yamada1-0/+1
2017-11-17checkpatch: add --strict test for lines ending in [ or (Joe Perches1-0/+6
2017-11-17checkpatch: add TP_printk to list of logging functionsJoe Perches1-0/+1
2017-11-17checkpatch: allow DEFINE_PER_CPU definitions to exceed line lengthJoe Perches1-2/+3
2017-11-17checkpatch: printks always need a KERN_<LEVEL>Joe Perches1-22/+4
2017-11-17scripts/checkpatch.pl: avoid false warning missing breakHeinrich Schuchardt1-1/+1
2017-11-17checkpatch: support function pointers for unnamed function definition argumentsMiles Chen1-1/+1
2017-10-03checkpatch: fix ignoring cover-letter logicStafford Horne1-1/+1
2017-09-08checkpatch: add 6 missing types to --list-typesJean Delvare1-1/+2
2017-09-08checkpatch: rename variables to avoid confusionJean Delvare1-16/+16
2017-09-08checkpatch: fix typo in commentJean Delvare1-1/+1
2017-09-08checkpatch: add --strict check for ifs with unnecessary parenthesesJoe Perches1-0/+24
2017-07-12checkpatch: improve the STORAGE_CLASS testJoe Perches1-2/+10
2017-07-10checkpatch: improve multi-line alignment testJoe Perches1-1/+1
2017-07-10checkpatch: improve macro reuse testJoe Perches1-6/+6