zephyr/scripts/coccinelle
Peter Bigot 15ed58652e scripts/cocci: add Zephyr macro file
Zephyr uses some defines to provide additional information about the
item being declared.  When unrecognized these can confuse the
Coccinelle parser so that it does not apply semantic patches in
situations where they should be applied.

Add a macro file that extends the Coccinelle builtin macro file with
some identifiers that are specific to Zephyr.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-05-05 06:15:04 -04:00
..
array_size.cocci
deref_null.cocci
identifier_length.cocci
ignore_return.cocci
int_literal_to_timeout.cocci scripts/coccinelle: fix int_literal_to_timeout for K_THREAD_DEFINE 2020-04-15 08:28:57 -05:00
irq_lock.cocci
macros.h scripts/cocci: add Zephyr macro file 2020-05-05 06:15:04 -04:00
mini_lock.cocci
ms_timeout.cocci scripts/coccinelle: add script to convert legacy timeout values 2020-04-30 18:26:26 +02:00
noderef.cocci
returnvar.cocci
semicolon.cocci
unsigned_lesser_than_zero.cocci
unsigned_shift.cocci
unsigned_suffix.cocci