[GIT PULL] coccinelle changes for v7.3-rc1

From: Julia Lawall

Date: Sun Aug 30 2026 - 08:59:27 EST


The following changes since commit b6b019a1d9b90ac51174f0ca15b1338b61506bf9:

Merge tag 'parisc-for-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux (2026-08-23 10:30:02 -0700)

are available in the Git repository at:

ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/jlawall/linux.git tags/cocci-7.3-rc1

for you to fetch changes up to ef6a1dca8de41a408019310649e6d1b7b21ac4bc:

coccinelle: ifnulldev_put: update error message (2026-08-30 14:36:11 +0200)

----------------------------------------------------------------
Coccinelle patches for Linux v7.3

Sang-Heon Jeon <ekffu200098@xxxxxxxxx> has cleaned up a number
of the semantic patches in the scripts/coccinelle directory,
particularly with respect to functions that no longer exist in
the kernel. He and I have also done some reorganizations that
improve performance.

I eliminatd some false positives.

相浦彰 / AIURA,AKIRA <akira.aiura.bj@xxxxxxxxxxx> fixed an
out of date URL.

----------------------------------------------------------------
Julia Lawall (6):
coccinelle: misc: minmax: drop unneeded parentheses
coccinelle: misc: minmax: check for the presence of if cases
coccinelle: misc: minmax: avoid unhelpful isomorphisms
coccinelle: api: check for macro context
scripts: coccinelle: devm_free: reduce false positives
coccinelle: ifnulldev_put: update error message

Sang-Heon Jeon (11):
coccinelle: double_lock: improve performance when no double lock exists
coccinelle: misc: minmax: improve performance when no candidate exists
coccinelle: mini_lock: improve performance when searching loops
coccinelle: misc: struct_size: drop unneeded parentheses
coccinelle: remove obsolete pci_free_consistent.cocci
coccinelle: alloc_cast: drop removed allocators
coccinelle: zalloc-simple: drop the kmem_alloc rules
coccinelle: pool_zalloc-simple: drop the pci_pool_alloc rules
coccinelle: kfree_mismatch: drop vmalloc_exec
coccinelle: atomic_as_refcounter: drop atomic_long_dec_and_lock
coccinelle: ifnulldev_put: update outdated helper names

相浦彰 / AIURA,AKIRA (1):
coccinelle: update Coccinelle website URL

Documentation/process/4.Coding.rst | 3 +-
scripts/coccicheck | 4 +-
scripts/coccinelle/api/alloc/alloc_cast.cocci | 43 +++++++++++-----
.../coccinelle/api/alloc/pool_zalloc-simple.cocci | 17 ++----
scripts/coccinelle/api/alloc/zalloc-simple.cocci | 41 +--------------
scripts/coccinelle/api/atomic_as_refcounter.cocci | 4 --
scripts/coccinelle/api/kfree_mismatch.cocci | 12 ++---
scripts/coccinelle/free/devm_free.cocci | 15 ++++--
scripts/coccinelle/free/ifnulldev_put.cocci | 12 ++---
scripts/coccinelle/free/pci_free_consistent.cocci | 53 -------------------
scripts/coccinelle/locks/double_lock.cocci | 15 +++++-
scripts/coccinelle/locks/mini_lock.cocci | 24 ++++++++-
scripts/coccinelle/misc/minmax.cocci | 60 ++++++++++++++++++----
scripts/coccinelle/misc/struct_size.cocci | 8 +--
scripts/nsdeps | 2 +-
15 files changed, 149 insertions(+), 164 deletions(-)
delete mode 100644 scripts/coccinelle/free/pci_free_consistent.cocci