On Sat, 2 Sept 2023 at 01:34, Heinrich Schuchardt <heinrich.schucha...@canonical.com> wrote: > > disk_partition_uuid() and disk_partition_set_uuid() were introduced to let > us avoid the usage of #ifdef when dealing with the field uuid of > struct disk_partition. > > In allocate_disk_part() commit c5f1d005f517 ("part: Add accessors for > struct disk_partition uuid") missed to use the setter. > > print_gpt_info() and create_gpt_partitions_list() are further functions > where we should use the getter. > > Fixes: c5f1d005f517 ("part: Add accessors for struct disk_partition uuid") > Signed-off-by: Heinrich Schuchardt <heinrich.schucha...@canonical.com> > --- > v2: > new patch > --- > cmd/gpt.c | 23 ++++++++++++----------- > 1 file changed, 12 insertions(+), 11 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org>