[PATCH 00/18] Add new semantic patches and reorganize existing ones

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following series adds new semantic patches (SPs) in scripts/coccinelle.
Existing SPs are reorganized accordingly.

Nicolas Palix (18):
  Coccinelle: Add null/eno.cocci
  Coccinelle: Add null/kmerr.cocci
  Coccinelle: Move deref_null.cocci to a more appropriate directory
  Coccinelle: Add locks/call_kern.cocci
  Coccinelle: Add locks/double_lock.cocci
  Coccinelle: Add locks/mini_lock.cocci
  Coccinelle: Add iterators/fen.cocci
  Coccinelle: Add iterators/itnull.cocci
  Coccinelle: Add iterators/list_entry_update.cocci
  Coccinelle: Add free/kfree.cocci
  Coccinelle: Add api/kstrdup.cocci
  Coccinelle: Add api/memdup.cocci
  Coccinelle: Add api/memdup_user
  Coccinelle: Move err_cast.cocci to the api directory
  Coccinelle: Move resource_size.cocci to the api directory
  Coccinelle: Move alloc directory into api directory
  Coccinelle: Add misc/doubleinit.cocci
  Coccinelle: Add misc/ifcol.cocci

 scripts/coccinelle/alloc/drop_kmalloc_cast.cocci   |   67 -----
 scripts/coccinelle/alloc/kzalloc-simple.cocci      |   86 ------
 .../coccinelle/api/alloc/drop_kmalloc_cast.cocci   |   67 +++++
 scripts/coccinelle/api/alloc/kzalloc-simple.cocci  |   86 ++++++
 scripts/coccinelle/api/err_cast.cocci              |   56 ++++
 scripts/coccinelle/api/kstrdup.cocci               |   39 +++
 scripts/coccinelle/api/memdup.cocci                |   40 +++
 scripts/coccinelle/api/memdup_user.cocci           |   35 +++
 scripts/coccinelle/api/resource_size.cocci         |   93 ++++++
 scripts/coccinelle/deref_null.cocci                |  293 --------------------
 scripts/coccinelle/err_cast.cocci                  |   56 ----
 scripts/coccinelle/free/kfree.cocci                |  116 ++++++++
 scripts/coccinelle/iterators/fen.cocci             |   64 +++++
 scripts/coccinelle/iterators/itnull.cocci          |   58 ++++
 .../coccinelle/iterators/list_entry_update.cocci   |   62 ++++
 scripts/coccinelle/locks/call_kern.cocci           |   74 +++++
 scripts/coccinelle/locks/double_lock.cocci         |   92 ++++++
 scripts/coccinelle/locks/mini_lock.cocci           |   95 +++++++
 scripts/coccinelle/misc/doubleinit.cocci           |   53 ++++
 scripts/coccinelle/misc/ifcol.cocci                |   48 ++++
 scripts/coccinelle/null/deref_null.cocci           |  293 ++++++++++++++++++++
 scripts/coccinelle/null/eno.cocci                  |   20 ++
 scripts/coccinelle/null/kmerr.cocci                |   72 +++++
 scripts/coccinelle/resource_size.cocci             |   93 ------
 24 files changed, 1463 insertions(+), 595 deletions(-)
 delete mode 100644 scripts/coccinelle/alloc/drop_kmalloc_cast.cocci
 delete mode 100644 scripts/coccinelle/alloc/kzalloc-simple.cocci
 create mode 100644 scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci
 create mode 100644 scripts/coccinelle/api/alloc/kzalloc-simple.cocci
 create mode 100644 scripts/coccinelle/api/err_cast.cocci
 create mode 100644 scripts/coccinelle/api/kstrdup.cocci
 create mode 100644 scripts/coccinelle/api/memdup.cocci
 create mode 100644 scripts/coccinelle/api/memdup_user.cocci
 create mode 100644 scripts/coccinelle/api/resource_size.cocci
 delete mode 100644 scripts/coccinelle/deref_null.cocci
 delete mode 100644 scripts/coccinelle/err_cast.cocci
 create mode 100644 scripts/coccinelle/free/kfree.cocci
 create mode 100644 scripts/coccinelle/iterators/fen.cocci
 create mode 100644 scripts/coccinelle/iterators/itnull.cocci
 create mode 100644 scripts/coccinelle/iterators/list_entry_update.cocci
 create mode 100644 scripts/coccinelle/locks/call_kern.cocci
 create mode 100644 scripts/coccinelle/locks/double_lock.cocci
 create mode 100644 scripts/coccinelle/locks/mini_lock.cocci
 create mode 100644 scripts/coccinelle/misc/doubleinit.cocci
 create mode 100644 scripts/coccinelle/misc/ifcol.cocci
 create mode 100644 scripts/coccinelle/null/deref_null.cocci
 create mode 100644 scripts/coccinelle/null/eno.cocci
 create mode 100644 scripts/coccinelle/null/kmerr.cocci
 delete mode 100644 scripts/coccinelle/resource_size.cocci

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux