u-boot/disk
Stephen Warren 71bba424ad 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>
2012-10-17 07:59:09 -07:00
..
Makefile disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
part_amiga.c Block: Remove MG DISK support 2012-06-21 20:53:09 +02:00
part_amiga.h * Code cleanup: 2003-06-27 21:31:46 +00:00
part_dos.c disk: part_dos: don't claim whole-disk FAT filesystems 2012-10-08 11:15:04 -07:00
part_dos.h disk: part_msdos: parse and store partition UUID 2012-09-25 15:05:45 -07:00
part_efi.c disk: part_efi: parse and store partition UUID 2012-09-25 15:05:44 -07: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 Block: Remove MG DISK support 2012-06-21 20:53:09 +02:00
part_iso.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
part_mac.c part_mac: dcache: allocate cacheline-aligned buffers 2012-09-02 17:08:31 +02:00
part_mac.h * Code cleanup: 2003-06-27 21:31:46 +00:00
part.c disk: get_device_and_partition() return value fixes 2012-10-17 07:59:09 -07:00