History log of /openbmc/u-boot/scripts/coccinelle/null/kmerr.cocci (Results 1 – 3 of 3)
Revision Date Author Comments
# ee5f2490 13-Mar-2018 Tom Rini <trini@konsulko.com>

Merge branch 'next' of git://git.denx.de/u-boot-video


# 2e5c42c6 09-Mar-2018 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-imx


# 4320e2fd 08-Mar-2018 Heinrich Schuchardt <xypron.glpk@gmx.de>

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

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>

show more ...