commit | 5be9b0c9fcf247e67e6b650b98bddb7ef73488fd | [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 | dcb66343d3dc7ef8b3b1d6e58ea4428b8bb99429 [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>