mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-27 15:12:21 +00:00
7e71dc6884
The patch below fixes device enumeration through the U-Boot API. Device enumeration crashes when the system in question doesn't have any RAM mapped to address zero (I discovered this on a BeagleBone board), since the enumeration calls get_dev with a NULL ifname sometimes which then gets passed down to strncmp(). This fix simply ensures that get_dev returns NULL when invoked with a NULL ifname. Signed-off-by: Tim Kientzle <kientzle@freebsd.org> Signed-off-by: Anatolij Gustschin <agust@denx.de> |
||
---|---|---|
.. | ||
Makefile | ||
part.c | ||
part_amiga.c | ||
part_amiga.h | ||
part_dos.c | ||
part_dos.h | ||
part_efi.c | ||
part_efi.h | ||
part_iso.c | ||
part_iso.h | ||
part_mac.c | ||
part_mac.h |