From: Bin Meng Date: Tue, 26 Sep 2023 08:43:44 +0000 (+0800) Subject: disk: part: Print out the unknown device uclass id X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=893e67883b0889b4cc4090664117e5b312ac7ff6;p=u-boot.git disk: part: Print out the unknown device uclass id It's helpful to output the device uclass id for unknown devices during the debugging process. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- diff --git a/disk/part.c b/disk/part.c index 72241b7b23..9127515400 100644 --- a/disk/part.c +++ b/disk/part.c @@ -337,7 +337,7 @@ static void print_part_header(const char *type, struct blk_desc *desc) puts("EFI"); break; default: - puts("UNKNOWN"); + printf("UNKNOWN(%d)", desc->uclass_id); break; } printf (" device %d -- Partition Type: %s\n\n",