coccinelle: Introduce cocci script to detect missing mutext and spin lock initialization
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 11 repliesIn review
- v22 patches 7 repliesSuperseded
- v12 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- remove the redundant matching expression
- remove the redundant asterisk
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | coccinelle: locks: add missing_mutex_init.cocci scriptscripts/ | +76 | 10 replies | |
| 2/2 | coccinelle: locks: add missing_spin_lock_init.cocci scriptscripts/ | +79 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [cocci] [PATCH v3 0/2] coccinelle: Introduce cocci script to detect missing mutext and spin lock initialization
This series introduce two scripts to help detect the use of mutext or spin locks without initialization.
---
changes in v3:
- remove the redundant matching expression
- remove the redundant asterisk
changes in v2:
- adjust commit msg
- add Confidence: tag
- print out more information in the report
Yuan Can (2):
coccinelle: locks: add missing_mutex_init.cocci script
coccinelle: locks: add missing_spin_lock_init.cocci script
.../coccinelle/locks/missing_mutex_init.cocci | 76 ++++++++++++++++++ .../locks/missing_spin_lock_init.cocci | 79 +++++++++++++++++++ 2 files changed, 155 insertions(+) create mode 100644 scripts/coccinelle/locks/missing_mutex_init.cocci create mode 100644 scripts/coccinelle/locks/missing_spin_lock_init.cocci
Signature · 1 line
2.17.1