[U-Boot] [PATCH] part_efi: Fix partition size calculation due to inclusive ending LBA.

Wolfgang Denk wd at denx.de
Sat Jan 24 01:34:32 CET 2009


Dear Richard Retanubun,

In message <494286ED.2070207 at RuggedCom.com> you wrote:
> From b24eaf52ade5e5f1e94243f727d4c0f6d0fccdf5 Mon Sep 17 00:00:00 2001
> From: Richard Retanubun <RichardRetanubun at RuggedCom.com>
> Date: Fri, 12 Dec 2008 10:23:45 -0500
> Subject: [PATCH] The ending LBA is inclusive. Hence, the partition size should be
>  ((ending-LBA + 1) - starting-LBA) to get the proper partition size.
> 
> This is confirmed against the results from the parted tool.
> (e.g. use parted /dev/sda -s unit S print) and observe the size.
> 
> Signed-off-by: Richard Retanubun <RichardRetanubun at RuggedCom.com>

Sorry, this does not apply:

Applying: part_efi: Fix partition size calculation due to inclusive ending LBA.
error: patch failed: disk/part_efi.c:163
error: disk/part_efi.c: patch does not apply
Using index info to reconstruct a base tree...
error: patch failed: disk/part_efi.c:163
error: disk/part_efi.c: patch does not apply
Did you hand edit your patch?
It does not apply to blobs recorded in its index.
Cannot fall back to three-way merge.
Patch failed at 0001.

Please rebase and resubmit.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The joys of love made her human and the  agonies  of  love  destroyed
her.
	-- Spock, "Requiem for Methuselah", stardate 5842.8


More information about the U-Boot mailing list