zephyr/scripts/coccinelle
Peter Bigot 0e5329331b scripts/coccinelle: add conversion of integers to timeout values
Some legacy code still passes integer literals in milliseconds as the
value to functions that take a timeout.  This usage interferes with
plans to replace the millisecond representation with a more generic
k_timeout_t value.  Add a Coccinelle script to convert call sites to
use the proper constants and macros.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-10-03 11:55:44 -07: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 conversion of integers to timeout values 2019-10-03 11:55:44 -07: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
unsigned_shift.cocci
unsigned_suffix.cocci scripts/coccinelle: Update unsigned suffix script 2019-03-28 17:15:58 -05:00