u-boot/disk
Tim Kientzle 7e71dc6884 disk/part.c: Fix device enumeration through API
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>
2012-03-27 11:46:33 +02:00
..
Makefile disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
part.c disk/part.c: Fix device enumeration through API 2012-03-27 11:46:33 +02:00
part_amiga.c mflash: Initial mflash support 2009-04-03 23:47:06 +02:00
part_amiga.h * Code cleanup: 2003-06-27 21:31:46 +00:00
part_dos.c part_dos: fix crash with big sector size 2011-07-27 23:41:33 +02:00
part_dos.h part_dos: fix crash with big sector size 2011-07-27 23:41:33 +02:00
part_efi.c part_efi: Fix compile errors 2011-12-06 23:59:30 +01:00
part_efi.h part: show efi partition name when print out partition info 2011-10-06 20:42:47 +02:00
part_iso.c Partition support: remove newline from partition name 2009-08-09 22:52:38 +02:00
part_iso.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
part_mac.c mflash: Initial mflash support 2009-04-03 23:47:06 +02:00
part_mac.h * Code cleanup: 2003-06-27 21:31:46 +00:00