grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 9/9] cryptodisk: Improve handling of partition name in cry


From: Daniel Kiper
Subject: Re: [PATCH v5 9/9] cryptodisk: Improve handling of partition name in cryptomount password prompt
Date: Mon, 20 Dec 2021 23:37:56 +0100
User-agent: NeoMutt/20170113 (1.7.2)

On Thu, Dec 09, 2021 at 11:14:58AM -0600, Glenn Washburn wrote:
> Call grub_partition_get_name unconditionally to initialize the part
> variable. Then part will only be NULL when grub_partition_get_name errors.
> Note that when source->partition is NULL, then grub_partition_get_name
> returns an allocated empty string. So no comma or partition will be printed,
> as desired.
>
> Signed-off-by: Glenn Washburn <development@efficientek.com>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]