diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-11-10 21:46:34 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-20 20:18:39 -0500 |
commit | a874cac3b45cbb6dd8bad05a5b42912acae6b7e4 (patch) | |
tree | 804e5cc613e40dc79efdfb24fa4b31a301017299 /Makefile | |
parent | 06feb5d0bf9953c6918d0e35feef64521c5236c4 (diff) | |
download | u-boot-a874cac3b45cbb6dd8bad05a5b42912acae6b7e4.zip u-boot-a874cac3b45cbb6dd8bad05a5b42912acae6b7e4.tar.gz u-boot-a874cac3b45cbb6dd8bad05a5b42912acae6b7e4.tar.bz2 |
malloc: don't compare pointers to 0
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.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions