Without this patch, it always returns the last partition when "idx" is larger than the last partititon. Change-Id: I1d126861327c02cab7dd8cc00dd0800651f7da3c Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| part.c | ||
| part_amiga.c | ||
| part_amiga.h | ||
| part_dos.c | ||
| part_dos.h | ||
| part_efi.c | ||
| part_iso.c | ||
| part_iso.h | ||
| part_mac.c | ||
| part_mac.h | ||
| part_rkparm.c | ||