From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Mon, 16 Oct 2017 11:00:01 -0600 Subject: [U-Boot] [PATCH v2 4/5] test/py: gpt: test start LBA for sub-command rename and swap In-Reply-To: <1508170655-17707-5-git-send-email-patrick.delaunay@st.com> References: <1508170655-17707-1-git-send-email-patrick.delaunay@st.com> <1508170655-17707-5-git-send-email-patrick.delaunay@st.com> Message-ID: <0fa8fe18-2acf-e9de-215f-fd0b7cbae61e@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > WARNING: the last LBA are invalid after rename > > before rename > 0x00000800 0x00000a00 "" > 0x00001000 0x00001200 "" > > after rename, the last LBA change > => 7ff for first = invalid ( => 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.