[U-Boot] [U-Boot, v2, 1/1] scripts/coccinelle: add some more coccinelle tests

Tom Rini trini at konsulko.com
Fri Mar 9 18:29:27 UTC 2018


On Thu, Mar 08, 2018 at 08:56:17PM +0100, Heinrich Schuchardt wrote:

> 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 at gmx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180309/57e9bb55/attachment.sig>


More information about the U-Boot mailing list