The commit coccinelle/coccinelle@47bd4cae52 changed a behavior of parsing right before coccinelle v1.1.0. With the commit, the current scripts under scripts/coccinelle/ errors out with: minus: parse error: File ".../zephyr/scripts/coccinelle/deref_null.cocci", line 25, column 42, charpos = 666 around = '...', whole content = (E != NULL && ...) ? <+...E->f@p1...+> : ... I've already raised an issue upstream coccinelle/coccinelle#257. But Debian is already shipping v1.1.0 and we need a fix. The proposed fix doesn't change the semantics, it just explicitly states that the rule is an expression. Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com> |
||
|---|---|---|
| .. | ||
| array_size.cocci | ||
| boolean.cocci | ||
| const_config_info.cocci | ||
| deref_null.cocci | ||
| find_dev_usage.cocci | ||
| find_functions.cocci | ||
| identifier_length.cocci | ||
| ignore_return.cocci | ||
| int_ms_to_timeout.cocci | ||
| irq_lock.cocci | ||
| macros.h | ||
| mini_lock.cocci | ||
| ms_timeout.cocci | ||
| noderef.cocci | ||
| reserved_names.cocci | ||
| returnvar.cocci | ||
| same_identifier.cocci | ||
| semicolon.cocci | ||
| unsigned_lesser_than_zero.cocci | ||
| unsigned_shift.cocci | ||
| unsigned_suffix.cocci | ||