scripts/coccinelle: add some more coccinelle testskmerr: verify that malloc and calloc are followed by a check to verifythat we are not out of memory.badzero: Compare pointer-typed values to NUL
scripts/coccinelle: add some more coccinelle testskmerr: verify that malloc and calloc are followed by a check to verifythat we are not out of memory.badzero: Compare pointer-typed values to NULL rather than 0Both checks are copied from the Linux kernel archive.Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
show more ...