From: Tom Rini Date: Fri, 20 Sep 2019 10:21:29 -0400 Subject: [U-Boot] [PATCH] cmd: part: number: return hexadecimal value In-Reply-To: <20190920135918.27368-1-erosca@de.adit-jv.com> References: <20190920135918.27368-1-erosca@de.adit-jv.com> Message-ID: <20190920142129.GA1011@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Sep 20, 2019 at 03:59:18PM +0200, Eugeniu Rosca wrote: > From: Roman Stratiienko > > At this point we are using part number sub-command to retrieve UUID > of the partition using it's name. > > e.g.: > part number mmc $mmcdev system_a system_a_index > part uuid mmc $mmcdev:${system_a_index} system_a_uuid > > Since 'part uuid' sub-command expects partition index in hex format and > 'part number' returns decimal value, 'part uuid' command will provide > wrong UUID or fail. > > Fixes: be683756f62034 ("cmd: part: Add 'number' sub-command") > Cc: Dirk Behme > Reported-by: Pontus Fuchs > Signed-off-by: Roman Stratiienko > Signed-off-by: Eugeniu Rosca Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: