mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-11 22:48:29 +00:00
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> |
||
---|---|---|
.. | ||
array_size.cocci | ||
deref_null.cocci | ||
identifier_length.cocci | ||
ignore_return.cocci | ||
int_literal_to_timeout.cocci | ||
irq_lock.cocci | ||
mini_lock.cocci | ||
noderef.cocci | ||
returnvar.cocci | ||
semicolon.cocci | ||
unsigned_lesser_than_zero.cocci | ||
unsigned_shift.cocci | ||
unsigned_suffix.cocci |