diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-11-20 01:49:21 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-30 06:30:50 +0300 |
commit | 24f48416dfe1d827dcf759d6cd0e7a8e5c67e321 (patch) | |
tree | a7e03593cbaff32b04b97c716428e629d016c3ba /configs/bcm958300k-ns_defconfig | |
parent | 254eedee7f383066b70ac4da01bc792a3256a4b3 (diff) | |
download | u-boot-24f48416dfe1d827dcf759d6cd0e7a8e5c67e321.tar.xz |
fs: avoid possible NULL dereference in fs_devread
It is unwise to first dereference a variable
and then to check if it was NULL.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Marek Behun <marek.behun@nic.cz>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'configs/bcm958300k-ns_defconfig')
0 files changed, 0 insertions, 0 deletions