summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/null
Commit message (Collapse)AuthorAgeFilesLines
* scripts/coccinelle: add some more coccinelle testsHeinrich Schuchardt2018-03-092-0/+316
kmerr: verify that malloc and calloc are followed by a check to verify that we are not out of memory. badzero: Compare pointer-typed values to NULL rather than 0 Both checks are copied from the Linux kernel archive. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>