aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle
AgeCommit message (Expand)AuthorFilesLines
2020-05-07net: remove newlines in NL_SET_ERR_MSG_MODJacob Keller1-0/+75
2020-02-04mm: remove __kreallocFlorian Westphal1-4/+0
2020-01-06remove ioremap_nocache and devm_ioremap_nocacheChristoph Hellwig2-5/+1
2019-10-17coccinelle: api/devm_platform_ioremap_resource: remove useless scriptAlexandre Belloni1-60/+0
2019-10-07scripts: add_namespace: Fix coccicheck failedYueHaibing1-0/+2
2019-09-22Merge tag 'modules-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+23
2019-09-18Merge tag 'driver-core-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+102
2019-09-10scripts: Coccinelle script for namespace dependencies.Matthias Maennich1-0/+23
2019-09-06coccinelle: platform_get_irq: Fix parse errorYueHaibing1-3/+3
2019-07-30coccinelle: api/atomic_as_refcounter: add SPDX License IdentifierMatthias Maennich1-0/+1
2019-07-30coccinelle: Add script to check for platform_get_irq() excessive printsStephen Boyd1-0/+102
2019-07-20Merge tag 'kbuild-v5.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ma...Linus Torvalds1-0/+60
2019-07-17coccinelle: api: add devm_platform_ioremap_resource scriptHimanshu Jha1-0/+60
2019-07-15docs: driver-model: move it to the driver-api bookMauro Carvalho Chehab1-1/+1
2019-07-14Merge tag 'stream_open-5.3' of https://lab.nexedi.com/kirr/linuxLinus Torvalds1-1/+8
2019-07-14*: convert stream-like files -> stream_open, even if they use noop_llseekKirill Smelkov1-1/+8
2019-07-12Merge tag 'kbuild-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds3-14/+13
2019-07-12Merge tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2019-07-08coccinelle: api/stream_open: treat all wait_.*() calls as blockingKirill Smelkov1-4/+4
2019-07-08coccinelle: put_device: Add a cast to an expression for an assignmentMarkus Elfring1-1/+1
2019-07-08coccinelle: put_device: Adjust a message constructionMarkus Elfring1-5/+4
2019-07-08coccinelle: kstrdup: Fix typo in warning messagesRikard Falkeborn1-4/+4
2019-06-21docs: driver-model: convert docs to ReST and rename to *.rstMauro Carvalho Chehab1-1/+1
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505Thomas Gleixner50-106/+156
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 257Thomas Gleixner1-1/+2
2019-04-06fs: stream_open - opener for stream-like files so that read and write can run...Kirill Smelkov1-0/+363
2019-03-28scripts: coccinelle: Fix description of badty.cocciMichael Stefaniuc1-1/+1
2019-03-28coccinelle: put_device: reduce false positivesWen Yang1-0/+1
2019-03-17coccinelle: semantic code search for missing put_device()Wen Yang1-0/+56
2019-01-08dma-mapping: remove dma_zalloc_coherent()Luis Chamberlain2-14/+5
2019-01-06scripts: coccinelle: boolinit: drop warnings on named constantsJulia Lawall1-0/+5
2019-01-06scripts: coccinelle: check for redeclarationJulia Lawall1-0/+3
2018-12-29Merge tag 'kbuild-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-16/+27
2018-12-17scripts: coccinelle: Correct warning messageJulia Lawall1-6/+6
2018-12-17scripts: coccinelle: only suggest true/false in files that already use themJulia Lawall1-10/+21
2018-11-24drm: remove no longer needed drm-get-put coccinelle scriptFernando Ramos1-78/+0
2018-08-22Coccinelle: remove pci_alloc_consistent semantic to detect in zalloc-simple.c...zhong jiang1-40/+1
2018-08-14Coccinelle: doubletest: reduce side effect false positivesJulia Lawall1-8/+26
2018-07-18Coccinelle: add atomic_as_refcounter scriptElena Reshetova1-0/+129
2018-06-06Merge tag 'kbuild-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds2-22/+24
2018-05-22coccinelle: deref_null: improve performanceJulia Lawall1-20/+20
2018-05-22coccinelle: mini_lock: improve performanceJulia Lawall1-2/+4
2018-03-30Merge airlied/drm-next into drm-misc-nextSean Paul1-2/+2
2018-03-28Backmerge tag 'v4.16-rc7' into drm-nextDave Airlie1-2/+2
2018-03-22drm: Remove drm_property_{un/reference}_blob aliasesHaneen Mohammed1-10/+0
2018-03-19drm: remove drm_mode_object_{un/reference} aliasesHaneen Mohammed1-10/+0
2018-03-03Coccinelle: memdup: Fix typo in warning messagesDafna Hirschfeld1-2/+2
2018-02-08coccinelle: deref_null: avoid useless computationJulia Lawall1-3/+3
2018-02-07coccinelle: devm_free: reduce false positivesJulia Lawall1-1/+54
2018-01-29Coccinelle: memdup: drop spurious lineJulia Lawall1-1/+0
2018-01-16Coccinelle: kzalloc-simple: Rename kzalloc-simple to zalloc-simpleHimanshu Jha1-0/+0
2018-01-16Coccinelle: ifnullfree: Trim the warning reported in report modeHimanshu Jha1-1/+1
2018-01-16Coccinelle: alloc_cast: Add more memory allocating functions to the listHimanshu Jha1-21/+71
2018-01-16Coccinelle: array_size: report even if include is missingJérémy Lefaure1-2/+2
2018-01-16Coccinelle: kzalloc-simple: Add all zero allocating functionsHimanshu Jha1-5/+367
2017-11-21Coccinelle: Remove setup_timer.cocciKees Cook1-277/+0
2017-11-17Merge tag 'kbuild-misc-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds6-53/+307
2017-11-15Merge tag 'drm-for-v4.15' of git://people.freedesktop.org/~airlied/linuxLinus Torvalds1-0/+5
2017-11-16coccinelle: orplus: reorganize to improve performanceJulia Lawall1-14/+29
2017-11-14coccinelle: use exists to improve efficiencyJulia Lawall1-1/+1
2017-11-14Coccinelle: use false positive annotationJulia Lawall1-4/+4
2017-11-14coccinelle: grep Options and Requires fields more preciselyMasahiro Yamada1-1/+1
2017-11-14coccinelle: api: detect identical chip data arraysJulia Lawall1-0/+161
2017-11-14coccinelle: Improve setup_timer.cocci matchingKees Cook1-24/+105
2017-11-14Coccinelle: setup_timer: improve messages from setup_timerJulia Lawall1-9/+6
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman8-0/+8
2017-09-26drm: introduce drm_dev_{get/put} functionsAishwarya Pant1-0/+5
2017-02-28drm: Introduce drm_property_blob_{get,put}()Thierry Reding1-0/+10
2017-02-28drm: Introduce drm_gem_object_{get,put}()Thierry Reding1-0/+20
2017-02-28drm: Introduce drm_framebuffer_{get,put}()Thierry Reding1-0/+10
2017-02-28drm: Introduce drm_connector_{get,put}()Thierry Reding1-0/+10
2017-02-28drm: Introduce drm_mode_object_{get,put}()Thierry Reding1-0/+42
2016-12-11Coccinelle: misc: Add support for devm variant in all modesVaishali Thakkar1-3/+12
2016-12-11Coccinelle: misc: Improve the result given by context modeVaishali Thakkar1-1/+2
2016-12-11Coccinelle: misc: Improve the matching of rulesVaishali Thakkar1-13/+23
2016-12-11Coccinelle: Add misc/boolconv.cocciAndrew F. Davis1-0/+90
2016-10-11Coccinelle: flag conditions with no effectNicholas Mc Guire1-0/+64
2016-10-01Coccinelle: pm_runtime: ensure relevance of pm_runtime reportsJulia Lawall1-7/+11
2016-10-01Coccinelle: limit memdup_user transformation to GFP_KERNEL caseJulia Lawall1-4/+4
2016-07-22scripts/coccinelle: require coccinelle >= 1.0.4 on device_node_continue.cocciLuis R. Rodriguez1-0/+3
2016-06-21coccinelle: catch krealloc() on devm_*() allocated memoryYann Droneaud1-0/+4
2016-06-21coccinelle: recognize more devm_* memory allocation functionsYann Droneaud1-0/+20
2016-06-21coccinelle: also catch kzfree() issuesYann Droneaud4-5/+25
2016-06-20Coccinelle: noderef: Add new rules and correct the old ruleVaishali Thakkar1-1/+17
2016-05-26Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds2-173/+2
2016-04-20scripts: coccinelle: remove check to move constants to rightWolfram Sang1-171/+0
2016-04-20Coccinelle: setup_timer: Add space in front of parenthesesVaishali Thakkar1-2/+2
2016-04-12debugfs, coccinelle: check for obsolete DEFINE_SIMPLE_ATTRIBUTE() usageNicolai Stange1-0/+67
2016-02-18Coccinelle: Add api/setup_timer.cocciVaishali Thakkar1-0/+199
2016-02-18coccinelle: bugon: reduce rule applicabilityJulia Lawall1-1/+1
2016-02-18Coccinelle: pm_runtime: reduce rule applicabilityJulia Lawall1-1/+1
2016-02-18Coccinelle: array_size: reduce rule applicabilityJulia Lawall1-1/+1
2016-02-18Coccinelle: reduce rule applicabilityJulia Lawall1-1/+1
2016-02-18scripts/coccinelle: modernize &Julia Lawall1-1/+1
2016-01-12coccinelle: tests: unsigned value cannot be lesser than zeroAndrzej Hajda1-0/+75
2015-10-26coccinelle: Improve checking for missing NULL terminatorsDaniel Granat1-5/+28
2015-10-26coccinelle: ifnullfree: handle various destroy functionsJulia Lawall1-1/+9
2015-10-26coccinelle: ifnullfree: various cleanupsJulia Lawall1-11/+7
2015-10-26cocinelle: iterators: semantic patch to delete unneeded of_node_putJulia Lawall1-0/+100
2015-10-26scripts/coccinelle: fix typosJulia Lawall1-2/+2
2015-10-26coccinelle: misc: remove "complex return code" warningsJohan Hovold1-180/+0
2015-10-26coccinelle: tests: improve odd_ptr_err.cocciJulia Lawall1-34/+86
2015-10-26coccinelle: misc: move constants to the rightJulia Lawall1-0/+171
2015-09-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+84
2015-09-08coccinelle: mm: scripts/coccinelle/api/alloc/pool_zalloc-simple.cocciSean O. Stalley1-0/+84
2015-08-19coccinelle: api: extend spatch for dropping unnecessary ownerKrzysztof Kozlowski1-0/+73
2015-06-03coccinelle: simple_return: Add a blank lineFabio Estevam1-1/+1
2015-05-25coccinelle: irqf_oneshot.cocci: Improve the generated commit logFabio Estevam1-2/+5
2015-05-21coccinelle: api: add vma_pages.cocciDmitry Kalinkin1-0/+60
2015-05-21scripts/coccinelle/misc/irqf_oneshot.cocci: Fix grammarFabio Estevam1-1/+1
2015-05-21scripts/coccinelle/misc/semicolon.cocci: Use imperative moodFabio Estevam1-1/+1
2015-05-20coccinelle: simple_open: Use imperative moodFabio Estevam1-2/+2
2015-05-20coccinelle: ifaddr: Fix the sentenceFabio Estevam1-2/+1
2015-05-20coccinelle: returnvar: Use imperative moodFabio Estevam1-1/+1
2015-05-20coccinelle: pm_runtime: Insert blank lineFabio Estevam1-1/+1
2015-04-15scripts/coccinelle/misc/bugon.cocci: update bug_on conversion warningFabian Frederick1-1/+1
2015-03-25irqf_oneshot.cocci: add check of devm_request_threaded_irq()Valentin Rothberg1-0/+24
2014-12-20Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds1-1/+1
2014-11-24bugon.cocci: fix Options at the macroMauro Carvalho Chehab1-1/+1
2014-11-06coccinelle: api: add spatch to prevent unnecessary .ownerWolfram Sang1-0/+106
2014-09-26coccinelle: misc: semantic patch to delete overly complex return code processingJulia Lawall1-0/+180
2014-08-14Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds5-27/+258
2014-08-08scripts/coccinelle/free/ifnullfree.cocci: add copyright informationFabian Frederick1-2/+3
2014-08-08scripts/coccinelle/free: add NULL test before freeing functionsFabian Frederick1-0/+52
2014-08-06Coccinelle: Script to replace if and BUG with BUG_ONHimangi Saraogi1-0/+62
2014-08-06Coccinelle: Script to detect incorrect argument to sizeofHimangi Saraogi1-0/+76
2014-08-06Coccinelle: Script to use ARRAY_SIZE instead of division of two sizeofsHimangi Saraogi1-0/+87
2014-08-06Coccinelle: Script to detect cast after memory allocationHimangi Saraogi2-67/+72
2014-08-06coccinelle/null: solve parse errorHimangi Saraogi1-1/+2
2014-06-19devres: remove devm_request_and_ioremap()Jingoo Han1-90/+0
2014-06-10coccicheck: Add unneeded return variable testPeter Senna Tschudin1-0/+66
2014-06-09coccinelle: Check for missing NULL terminators in of_device_id tablesStephen Boyd1-0/+62
2014-04-08scripts/coccinelle: Use PTR_ERR_OR_ZEROSachin Kamat1-7/+7
2014-03-29Coccicheck: Remove memcpy to struct assignment testPeter Senna Tschudin1-103/+0
2014-01-03scripts: Coccinelle script for pm_runtime_* return checks with IS_ERR_VALUENishanth Menon1-0/+109
2013-10-23scripts/coccinelle/api: remove devm_request_and_ioremap.cocciWolfram Sang1-105/+0
2013-09-07Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds1-0/+58
2013-08-13coccinelle: replace 0/1 with false/true in functions returning boolRasmus Villemoes1-0/+58
2013-07-15PTR_RET is now PTR_ERR_OR_ZERO(): Replace most.Rusty Russell1-5/+5
2013-07-03Coccinelle: Update the options used to the new option schemeNicolas Palix33-33/+33
2013-07-03scripts: Coccinelle script for pci_free_consistent()strnape1@fel.cvut.cz1-0/+52
2013-06-14scripts/coccinelle: check for field address argument to kfreeJulia Lawall1-0/+32
2013-02-27Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds3-0/+241
2013-02-22scripts/coccinelle: find constant additions that could be bit orsJulia Lawall1-0/+55
2013-02-22scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assig...Peter Senna Tschudin1-0/+103
2013-01-24scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon testPeter Senna Tschudin1-0/+83
2013-01-22lib: devres: Introduce devm_ioremap_resource()Thierry Reding1-0/+90
2012-12-20Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds1-0/+109
2012-12-18Coccinelle: add api/d_find_alias.cocciCyril Roelandt1-0/+80
2012-12-09scripts/coccinelle/misc/warn.cocci: use WARNJulia Lawall1-0/+109
2012-10-12Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds2-0/+91
2012-10-11scripts/coccinelle/tests/odd_ptr_err.cocci: semantic patch for IS_ERR/PTR_ERR...Julia Lawall1-0/+65
2012-10-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-2/+2
2012-09-01Coccinelle: fix typo in memdup_user.cocciFengguang Wu1-2/+2
2012-08-31scripts/coccinelle: ptr_ret: Add ternary operator versionLars-Peter Clausen1-0/+26
2012-07-13scripts/coccinelle: list iterator variable semantic patchJulia Lawall1-0/+147
2012-07-13scripts/coccinelle: Find threaded IRQs requests which are missing IRQF_ONESHOTLars-Peter Clausen1-0/+65
2012-05-28Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds2-0/+100
2012-05-25scripts/coccinelle: sizeof of pointerJulia Lawall1-0/+65
2012-05-25scripts/coccinelle: address test is always trueJulia Lawall1-0/+35
2012-04-05Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-0/+70
2012-04-05scripts/coccinelle/api/simple_open.cocci: semantic patch for simple_open()Julia Lawall1-0/+70
2012-03-26scripts/coccinelle/api/ptr_ret.cocci: semantic patch for ptr_errJulia Lawall1-0/+70
2012-02-25coccinelle: semantic patch for bool issuesJulia Lawall1-0/+178
2012-02-25coccinelle: semantic patch to check for PTR_ERR after reassignmentJulia Lawall1-0/+41
2012-02-25coccinelle: semantic patch converting 0 test to null testJulia Lawall1-0/+237
2012-02-25coccinelle: semantic patch for missing iounmapJulia Lawall1-0/+67
2012-02-25coccinelle: semantic patch for missing clk_putJulia Lawall1-0/+67
2012-01-15scripts/coccinelle: improve the coverage of some semantic patchesJulia Lawall11-76/+351
2012-01-14coccinelle: semantic patches related to devm_ functions (part 2)Julia Lawall1-0/+71
2012-01-14coccinelle: semantic patches related to devm_ functions (part 1)Julia Lawall1-0/+105
2010-12-03scripts/coccinelle: update for compatability with Coccinelle 0.2.4Julia Lawall2-28/+17
2010-10-28Coccinelle: Find doubled arguments to boolean or bit operators.Julia Lawall2-0/+94
2010-10-28Coccinelle: Find nested lock+irqsave functions that use the same flags variab...Julia Lawall1-0/+80
2010-10-13Coccinelle: Use new comment format to explain kfree.cocciNicolas Palix1-4/+5
2010-08-31Coccinelle: Add misc/ifcol.cocciNicolas Palix1-0/+48
2010-08-31Coccinelle: Add misc/doubleinit.cocciNicolas Palix1-0/+53
2010-08-31Coccinelle: Move alloc directory into api directoryNicolas Palix2-1/+5
2010-08-31Coccinelle: Move resource_size.cocci to the api directoryNicolas Palix1-0/+0
2010-08-31Coccinelle: Move err_cast.cocci to the api directoryNicolas Palix1-0/+0
2010-08-31Coccinelle: Add api/memdup_userNicolas Palix1-0/+35
2010-08-31Coccinelle: Add api/memdup.cocciNicolas Palix1-0/+40
2010-08-31Coccinelle: Add api/kstrdup.cocciNicolas Palix1-0/+39
2010-08-31Coccinelle: Add free/kfree.cocciNicolas Palix1-0/+116
2010-08-31Coccinelle: Add iterators/list_entry_update.cocciNicolas Palix1-0/+62
2010-08-31Coccinelle: Add iterators/itnull.cocciNicolas Palix1-0/+58
2010-08-31Coccinelle: Add iterators/fen.cocciNicolas Palix1-0/+64
2010-08-31Coccinelle: Add locks/mini_lock.cocciNicolas Palix1-0/+95
2010-08-31Coccinelle: Add locks/double_lock.cocciNicolas Palix1-0/+92
2010-08-31Coccinelle: Add locks/call_kern.cocciNicolas Palix1-0/+74
2010-08-31Coccinelle: Move deref_null.cocci to a more appropriate directoryNicolas Palix1-0/+0
2010-08-31Coccinelle: Add null/kmerr.cocciNicolas Palix1-0/+72
2010-08-31Coccinelle: Add null/eno.cocciNicolas Palix1-0/+20
2010-06-12Add scripts/coccinelle/deref_null.cocciNicolas Palix1-0/+293
2010-06-12Add scripts/coccinelle/err_cast.cocciNicolas Palix1-0/+56
2010-06-12Add scripts/coccinelle/resource_size.cocciNicolas Palix1-0/+93
2010-06-12Add scripts/coccinelle/alloc/kzalloc-simple.cocciNicolas Palix1-0/+82
2010-06-12Add scripts/coccinelle/alloc/drop_kmalloc_cast.cocciNicolas Palix1-0/+67