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
deref_null.cocci
identifier_length.cocci scripts/coccinelle: Add script for counting identifier length 2019-04-18 12:29:07 -04:00
ignore_return.cocci
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
returnvar.cocci
semicolon.cocci
unsigned_lesser_than_zero.cocci
unsigned_shift.cocci
unsigned_suffix.cocci scripts/coccinelle: Update unsigned suffix script 2019-03-28 17:15:58 -05:00