On 10/16/2017 10:17 AM, Patrick Delaunay wrote:
Add test of first and last LBA in gpt for rename and swap.
Only the name is expected to change, so test 3 columns
for part command
1: first LBA (start)
2: last LBA (end)
3: partition name

Signed-off-by: Patrick Delaunay <patrick.delau...@st.com>
---
WARNING: the last LBA are invalid after rename

before rename
0x00000800  0x00000a00      ""
0x00001000  0x00001200      ""

after rename, the last LBA change
=> 7ff for first = invalid (<start)
=> 17ff for second (size increase)

0x00000800      0x000007ff "first"
0x00001000      0x000017ff      "second"

the issue is corrected in next commit of the patchset

That issue should be described in the commit description, and also as a comment in the code.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to