[PATCH v3 0/2] 'part name' subcommand and some robustification

Tom Rini trini at konsulko.com
Tue Nov 18 21:32:20 CET 2025


On Mon, 10 Nov 2025 21:54:09 +0100, Rasmus Villemoes wrote:

> Implement a "part name" subcommand, mirroring the existing "part
> number" subcommand.
> 
> In the discussion for v1 of that, it came up that there's a bit of
> inconsistency in how much and what one can assume to be initialized in
> 'struct disk_partition' after a successful call of one of the
> get_info* family of functions. Patch 1/2 tries to consolidate
> that by making sure all ->get_info invocations go through a common
> helper that at least always initializes the string members.
> 
> [...]

Applied to u-boot/next, thanks!

[1/2] disk/part.c: ensure strings in struct disk_partition are valid after successful get_info
      commit: 3c2a9475334ae32997b3bce8d24b39c8ffa9fc67
[2/2] cmd/part.c: implement "part name" subcommand
      commit: 30890051ab23a0293f6404c9a49e86f33e45df66
-- 
Tom




More information about the U-Boot mailing list