Tim Duesterhus
|
ecf55968a1
|
DEV: coccinelle: Add xalloc_cast.cocci
This remove's C++ style casts from the return value of malloc/calloc.
see 403fd722ac
|
2021-09-17 17:22:05 +02:00 |
|
Tim Duesterhus
|
02fa646a37
|
DEV: coccinelle: Add bug_on.cocci
This replaces an if + ABORT_NOW() by BUG_ON(). It might change behavior,
because BUG_ON will result in a no-op if not enabled.
|
2021-09-17 17:22:05 +02:00 |
|
Tim Duesterhus
|
63ee0e4c01
|
DEV: coccinelle: Add xalloc_size.cocci
This commits the Coccinelle patch to clean up sizeof handling for malloc/calloc.
|
2021-09-17 17:22:05 +02:00 |
|
Tim Duesterhus
|
c1af0bae69
|
DEV: coccinelle: Add ist.cocci
This commits the Coccinelle patch to clean up ist handling.
|
2021-09-17 17:22:05 +02:00 |
|