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> |
||
|---|---|---|
| .. | ||
| array_size.cocci | ||
| deref_null.cocci | ||
| ignore_return.cocci | ||
| irq_lock.cocci | ||
| mini_lock.cocci | ||
| noderef.cocci | ||
| returnvar.cocci | ||
| semicolon.cocci | ||
| unsigned_lesser_than_zero.cocci | ||
| unsigned_shift.cocci | ||
| unsigned_suffix.cocci | ||