Searched hist:"71 bba424" (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/disk/ |
H A D | part.c | 71bba424 Mon Oct 08 02:45:54 CDT 2012 Stephen Warren <swarren@nvidia.com> disk: get_device_and_partition() return value fixes When no valid partitions are found, guarantee that we return -1. This most likely already happens, since the most recent get_partition_info() will have returned an error. However, it's best to be explicit. Remove an unnecessary assignment of ret=0 in the success case; this value is over-written with the processed partition ID later. Signed-off-by: Stephen Warren <swarren@nvidia.com>
|