On Fri, Nov 10, 2017 at 09:46:34PM +0100, Heinrich Schuchardt wrote:

> 0 is not a pointer. So do not compare pointers to 0.
> 
> Do not return 0 from functions with a pointer return
> type.
> 
> Problem identified with Coccinelle.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
> Reviewed-by: Bin Meng <bmeng...@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to