zephyr/scripts/coccinelle
Patrik Flykt 1b48cb6dc1 scripts/coccinelle: Add Coccinelle script for unsigned values
Add a Coccinelle script that adds an 'U' to values assigned to
unsigned variables, according ot MISRA-C rule 7.2.

Add a 'report' mode to the script that can be used by developer/CI
and a 'patch' mode that should do the heavy lifting.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
2018-12-04 22:51:56 -05: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
ignore_return.cocci coccinelle: ignore_return.cocci: Update script 2018-11-07 10:30:11 -05: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: Add Coccinelle script for unsigned values 2018-12-04 22:51:56 -05:00