zephyr/scripts/coccinelle
Peter Bigot 03c22b8c94 scripts/coccinelle: add k_thread create/define to timeout standardization
k_thread_create and K_THREAD_DEFINE both take a delay as the final
parameter.  Most uses of K_THREAD_DEFINE pass either `K_NO_WAIT` or
`K_FOREVER`.  Ensure that all uses of K_THREAD_DEFINE follow that
practice, and that the runtime k_thread_create calls do so as well.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-10-09 08:38:10 -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: add k_thread create/define to timeout standardization 2019-10-09 08:38:10 -04:00
irq_lock.cocci coccinelle: irq_lock.cocci: Update script 2018-11-07 10:31:41 -05:00
mini_lock.cocci coccinelle: Add script to find cases of missing locks 2018-11-07 10:32:59 -05:00
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 coccinelle: unsigned_shift.cocci: Update script 2018-11-07 10:27:44 -05:00
unsigned_suffix.cocci scripts/coccinelle: Update unsigned suffix script 2019-03-28 17:15:58 -05:00