commit | 4320e2fda40ae5057777d4700192a0c55287b66a | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Mar 08 20:56:17 2018 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Mar 09 12:31:07 2018 -0500 |
tree | 3421208a7826931a551e67eaf43d7f0524f8cb38 | |
parent | 428e60e079ba700dad3d883ec12653f1a5cedea6 [diff] |
scripts/coccinelle: add some more coccinelle tests 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>