zephyr/scripts/coccinelle
Peter Bigot d4bb09c083 scripts/coccinelle: improve int_literal_to_timeout
Replace timeout parameters that are multiples of MSEC_PER_SEC, or such
a value passed through K_MSEC, with the normalized timeout expression
using whole seconds.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-04-02 19:47:51 +03: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: improve int_literal_to_timeout 2020-04-02 19:47:51 +03:00
irq_lock.cocci
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
unsigned_suffix.cocci scripts/coccinelle: Update unsigned suffix script 2019-03-28 17:15:58 -05:00