Searched hist:"7 e71dc68" (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/disk/ |
H A D | part.c | 7e71dc68 Tue Mar 27 04:43:25 CDT 2012 Tim Kientzle <kientzle@freebsd.org> 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>
|