aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/api
AgeCommit message (Expand)AuthorFilesLines
2025-09-22coccinelle: platform_no_drv_owner: handle also built-in driversKrzysztof Kozlowski1-0/+9
2024-09-28Reduce Coccinelle choices in string_choices.cocciJulia Lawall1-50/+41
2024-09-28coccinelle: Remove unnecessary parentheses for only one possible change.Hongbo Li1-8/+0
2024-09-28coccinelle: Add rules to find str_yes_no() replacementsHongbo Li1-0/+19
2024-09-28coccinelle: Add rules to find str_on_off() replacementsHongbo Li1-0/+19
2024-09-28coccinelle: Add rules to find str_write_read() replacementsHongbo Li1-0/+19
2024-09-28coccinelle: Add rules to find str_read_write() replacementsHongbo Li1-0/+19
2024-09-28coccinelle: Add rules to find str_enable{d}_disable{d}() replacementsHongbo Li1-0/+38
2024-09-28coccinelle: Add rules to find str_lo{w}_hi{gh}() replacementsHongbo Li1-0/+38
2024-09-28coccinelle: Add rules to find str_hi{gh}_lo{w}() replacementsHongbo Li1-0/+42
2024-09-28coccinelle: Add rules to find str_false_true() replacementsHongbo Li1-0/+19
2024-09-28coccinelle: Add rules to find str_true_false() replacementsHongbo Li1-0/+19
2024-09-27[tree-wide] finally take no_llseek outAl Viro1-1/+0
2024-08-15coccinelle: Add rules to find str_down_up() replacementsKees Cook1-0/+23
2024-08-15coccinelle: Add rules to find str_up_down() replacementsMichal Wajdeczko1-0/+23
2024-05-20Coccinelle: pm_runtime: Fix grammar in commentThorsten Blum1-1/+1
2024-03-21Merge tag 'cocci-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jl...Linus Torvalds1-1/+1
2024-02-29coccinelle: Add rules to find str_plural() replacementsKees Cook1-0/+41
2024-02-18coccinelle: device_attr_show: Remove useless expression STRLi Zhijian1-1/+1
2024-01-20coccinelle: device_attr_show: simplify patch caseJulia Lawall1-8/+3
2024-01-19coccinelle: device_attr_show: Adapt to the latest Documentation/filesystems/s...Li Zhijian1-9/+13
2023-07-29Revert "debugfs, coccinelle: check for obsolete DEFINE_SIMPLE_ATTRIBUTE() usage"Sean Christopherson1-68/+0
2022-12-26coccinelle: api/atomic_as_refcounter: include message type in outputDeepak R Varma1-4/+4
2022-08-07update Coccinelle URLJulia Lawall10-10/+10
2021-08-05coccinelle: api: rename kzfree to kfree_sensitiveWeizhao Ouyang1-1/+1
2021-06-21coccinelle: api: remove kobj_to_dev.cocci scriptKeith Busch1-45/+0
2020-12-15coccinnelle: Remove ptr_ret scriptMaxime Ripard1-97/+0
2020-10-18Merge branch 'for-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/jlaw...Linus Torvalds5-21/+559
2020-10-17coccinelle: api: add kfree_mismatch scriptDenis Efremov1-0/+228
2020-10-10coccinelle: api: kfree_sensitive: print memset positionDenis Efremov1-4/+6
2020-10-01coccinelle: api: add kvmalloc scriptDenis Efremov1-0/+256
2020-09-12coccinelle: api: update kzfree script to kfree_sensitiveDenis Efremov1-16/+13
2020-09-10scripts: device_attr_show.cocci: update location of sysfs docMauro Carvalho Chehab1-1/+1
2020-08-21coccinelle: api: add kobj_to_dev.cocci scriptDenis Efremov1-0/+45
2020-08-21coccinelle: add patch rule for dma_alloc_coherentAlex Dewar1-3/+13
2020-08-04coccinelle: api: filter out memdup_user definitionsDenis Efremov1-4/+13
2020-08-04coccinelle: api: extend memdup_user rule with vmemdup_user()Denis Efremov1-0/+45
2020-08-04coccinelle: api: extend memdup_user transformation with GFP_USERDenis Efremov1-2/+6
2020-08-04coccinelle: api: add kzfree scriptDenis Efremov1-0/+101
2020-08-04coccinelle: api/kstrdup: fix coccinelle positionDenis Efremov1-1/+1
2020-08-04coccinelle: api: add device_attr_show scriptDenis Efremov1-0/+55
2019-10-17coccinelle: api/devm_platform_ioremap_resource: remove useless scriptAlexandre Belloni1-60/+0
2019-09-18Merge tag 'driver-core-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+102
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-17coccinelle: api: add devm_platform_ioremap_resource scriptHimanshu Jha1-0/+60
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 Torvalds2-8/+8
2019-07-08coccinelle: api/stream_open: treat all wait_.*() calls as blockingKirill Smelkov1-4/+4
2019-07-08coccinelle: kstrdup: Fix typo in warning messagesRikard Falkeborn1-4/+4
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505Thomas Gleixner11-25/+36
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-01-08dma-mapping: remove dma_zalloc_coherent()Luis Chamberlain2-14/+5
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-07-18Coccinelle: add atomic_as_refcounter scriptElena Reshetova1-0/+129
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-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: alloc_cast: Add more memory allocating functions to the listHimanshu Jha1-21/+71
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 Torvalds2-33/+272
2017-11-15Merge tag 'drm-for-v4.15' of git://people.freedesktop.org/~airlied/linuxLinus Torvalds1-0/+5
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-Hartman5-0/+5
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-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-05-26Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds1-2/+2
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: pm_runtime: reduce rule applicabilityJulia Lawall1-1/+1
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-05-21coccinelle: api: add vma_pages.cocciDmitry Kalinkin1-0/+60
2015-05-20coccinelle: simple_open: Use imperative moodFabio Estevam1-2/+2
2015-05-20coccinelle: pm_runtime: Insert blank lineFabio Estevam1-1/+1
2014-11-06coccinelle: api: add spatch to prevent unnecessary .ownerWolfram Sang1-0/+106
2014-08-14Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds2-67/+72
2014-08-06Coccinelle: Script to detect cast after memory allocationHimangi Saraogi2-67/+72
2014-06-19devres: remove devm_request_and_ioremap()Jingoo Han1-90/+0
2014-04-08scripts/coccinelle: Use PTR_ERR_OR_ZEROSachin Kamat1-7/+7
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-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 Palix9-9/+9
2013-01-22lib: devres: Introduce devm_ioremap_resource()Thierry Reding1-0/+90
2012-12-18Coccinelle: add api/d_find_alias.cocciCyril Roelandt1-0/+80
2012-10-12Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds1-0/+26
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-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-01-15scripts/coccinelle: improve the coverage of some semantic patchesJulia Lawall3-16/+132
2012-01-14coccinelle: semantic patches related to devm_ functions (part 1)Julia Lawall1-0/+105
2010-08-31Coccinelle: Move alloc directory into api directoryNicolas Palix2-0/+153
2010-08-31Coccinelle: Move resource_size.cocci to the api directoryNicolas Palix1-0/+93
2010-08-31Coccinelle: Move err_cast.cocci to the api directoryNicolas Palix1-0/+56
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