]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: fix efi_get_child_controllers()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 Jul 2020 02:21:26 +0000 (04:21 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 11 Jul 2020 21:14:16 +0000 (23:14 +0200)
commit1047c6e23c9bf7e2e0b0c0539b6d7289627c9f71
tree30de3bcb509ff55413bcadef841be4e16d5c7e58
parent39a75f5af139eaa53758a8cb0e0788cfafdaf54c
efi_loader: fix efi_get_child_controllers()

Don't call calloc(0, ..).
Consider return value of efi_get_child_controllers().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c