aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
AgeCommit message (Expand)AuthorFilesLines
2024-01-17Merge tag 'char-misc-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2024-01-11Merge tag 'net-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+19
2023-12-17scripts: checkpatch: Add __aligned to the list of attribute notesMarcelo Schmitt1-0/+1
2023-12-10checkpatch: do not require an empty line before error injectionSergey Senozhatsky1-1/+1
2023-12-08checkpatch: add ethtool_sprintf rulesjustinstitt@google.com1-0/+19
2023-09-13Revert "checkpatch: Error out if deprecated RCU API used"Joel Fernandes (Google)1-9/+0
2023-08-29Merge tag 'mm-nonmm-stable-2023-08-28-22-48' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+21
2023-08-21checkpatch: reword long-line warning about commit-msgJim Cromie1-1/+1
2023-08-21checkpatch: special case extern struct in .cJim Cromie1-0/+20
2023-07-24checkpatch: Complain about unexpected uses of RCU Tasks TracePaul E. McKenney1-0/+24
2023-07-04Merge tag 'core_guards_for_6.5_rc1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2023-06-26locking: Introduce __cleanup() based infrastructurePeter Zijlstra1-1/+1
2023-06-05checkpatch: Check for 0-length and 1-element arraysKees Cook1-0/+10
2023-05-30checkpatch: Check for strcpy and strncpy tooKees Cook1-1/+13
2023-04-27Merge tag 'mm-nonmm-stable-2023-04-27-16-01' of git://git.kernel.org/pub/scm/...Linus Torvalds1-9/+43
2023-04-18checkpatch: introduce proper bindings license checkDmitry Rokosov1-1/+6
2023-04-18checkpatch: check for misuse of the link tagsMatthieu Baerts1-1/+12
2023-04-18checkpatch: allow Closes tags with linksMatthieu Baerts1-5/+5
2023-04-18checkpatch: use a list of "link" tagsMatthieu Baerts1-4/+20
2023-04-18checkpatch: don't print the next line if not definedMatthieu Baerts1-1/+1
2023-04-08checkpatch: ignore ETHTOOL_LINK_MODE_ enum valuesGerhard Engleder1-0/+2
2023-04-05checkpatch: Error out if deprecated RCU API usedJoel Fernandes (Google)1-0/+9
2023-02-02checkpatch: improve EMBEDDED_FILENAME testJoe Perches1-1/+1
2023-02-02checkpatch: use proper way for show problematic lineThorsten Leemhuis1-5/+5
2023-02-02checkpatch: warn when Reported-by: is not followed by Link:Kai Wasserbäch1-0/+12
2023-02-02checkpatch: warn when unknown tags are used for linksKai Wasserbäch1-0/+12
2023-02-02checkpatch: mark kunmap() and kunmap_atomic() deprecatedIra Weiny1-0/+2
2022-11-30checkpatch: add check for array allocator family argument orderLiao Chang1-1/+1
2022-11-18scripts: checkpatch: allow "case" macrosStanislaw Gruszka1-0/+1
2022-11-18checkpatch: add warning for non-lore mailing list URLsBjorn Helgaas1-0/+17
2022-10-12Merge tag 'mm-nonmm-stable-2022-10-11' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+51
2022-10-03Merge tag 'rust-v6.1-rc1' of https://github.com/Rust-for-Linux/linuxLinus Torvalds1-4/+8
2022-10-03checkpatch: warn for non-standard fixes tag styleNiklas Söderlund1-0/+44
2022-09-29checkpatch: warn on usage of VM_BUG_ON() and other BUG variantsDavid Hildenbrand1-3/+3
2022-09-29docs: move asm-annotations.rst into core-apiJonathan Corbet1-1/+1
2022-09-28scripts: checkpatch: enable language-independent checks for RustMiguel Ojeda1-2/+2
2022-09-28scripts: checkpatch: diagnose uses of `%pA` in the C side as errorsMiguel Ojeda1-2/+6
2022-09-11checkpatch: handle FILE pointer typeMickaël Salaün1-1/+5
2022-09-11checkpatch: add kmap and kmap_atomic to the deprecated listIra Weiny1-0/+2
2022-06-16checkpatch: fix incorrect camelcase detection on numeric constantAntonio Borneo1-1/+1
2022-06-16checkpatch: add XA_STATE and XA_STATE_ORDER to the macro declaration listJoe Perches1-1/+2
2022-04-26checkpatch: add new alloc functions to alloc with multiplies checkGustavo A. R. Silva1-3/+5
2022-03-23checkpatch: use python3 to find codespell dictionarySagar Patel1-2/+2
2022-03-23checkpatch: add early_param exception to blank line after struct/function testJoe Perches1-1/+1
2022-03-23checkpatch: add --fix option for some TRAILING_STATEMENTSJoe Perches1-2/+16
2022-03-23checkpatch: prefer MODULE_LICENSE("GPL") over MODULE_LICENSE("GPL v2")Joe Perches1-0/+7
2022-01-20checkpatch: improve Kconfig help testJoe Perches1-26/+26
2022-01-20checkpatch: relax regexp for COMMIT_LOG_LONG_LINEJerome Forissier1-1/+1
2021-11-09checkpatch: get default codespell dictionary path from package locationPeter Ujfalusi1-4/+28
2021-11-09checkpatch: improve EXPORT_SYMBOL test for EXPORT_SYMBOL_NS usesJoe Perches1-0/+1
2021-11-06Compiler Attributes: add __alloc_size() for better bounds checkingKees Cook1-1/+2
2021-09-08checkpatch: improve GIT_COMMIT_ID testJoe Perches1-31/+51
2021-09-08checkpatch: make email address check case insensitiveMimi Zohar1-2/+2
2021-09-08checkpatch: support wide stringsJoe Perches1-3/+4
2021-07-01checkpatch: do not complain about positive return values starting with EPOLLGuenter Roeck1-1/+1
2021-07-01checkpatch: improve the indented label testJoe Perches1-3/+7
2021-07-01checkpatch: scripts/spdxcheck.py now requires python3Guenter Roeck1-2/+2
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