zephyr/scripts/coccinelle
Peter Bigot 3a0a582119 scripts/coccinelle: updates and improvements for integer timeout values
Add support for the report and patch modes so this can be invoked by
coccicheck.

Use PCRE options to make the kernel timeout API identifier rule more
readable.  Extend the pattern to new API.

Use rule extends and depends clauses, and pattern disjunction, to
avoid replicating metavariable content.

Hint that using --include-headers may be helpful (some patterns can be
found in static inline functions).

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-10-04 16:23:57 -04:00
..
array_size.cocci coccinelle: Suppress reports/warnings for ext/ 2018-11-14 19:20:34 -05:00
deref_null.cocci coccinelle: Suppress reports/warnings for ext/ 2018-11-14 19:20:34 -05:00
identifier_length.cocci scripts/coccinelle: Add script for counting identifier length 2019-04-18 12:29:07 -04:00
ignore_return.cocci coccinelle: Updating ignore_return to support memcpy 2018-12-19 14:37:25 +01:00
int_literal_to_timeout.cocci scripts/coccinelle: updates and improvements for integer timeout values 2019-10-04 16:23:57 -04:00
irq_lock.cocci
mini_lock.cocci
noderef.cocci coccinelle: Suppress reports/warnings for ext/ 2018-11-14 19:20:34 -05:00
returnvar.cocci coccinelle: Add script to remove unnecessary return variable 2018-11-28 11:54:01 -08:00
semicolon.cocci coccinelle: Suppress reports/warnings for ext/ 2018-11-14 19:20:34 -05:00
unsigned_lesser_than_zero.cocci coccinelle: Add script to find cases of unsigned < 0 2018-11-07 10:33:43 -05:00
unsigned_shift.cocci
unsigned_suffix.cocci scripts/coccinelle: Update unsigned suffix script 2019-03-28 17:15:58 -05:00