diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-03-08 20:56:17 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-03-09 12:31:07 -0500 |
commit | 4320e2fda40ae5057777d4700192a0c55287b66a (patch) | |
tree | 3421208a7826931a551e67eaf43d7f0524f8cb38 /arch | |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions