projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94a8462
)
disk: part: Print out the unknown device uclass id
author
Bin Meng
<bmeng@tinylab.org>
Tue, 26 Sep 2023 08:43:44 +0000
(16:43 +0800)
committer
Tom Rini
<trini@konsulko.com>
Tue, 10 Oct 2023 20:30:44 +0000
(16:30 -0400)
It's helpful to output the device uclass id for unknown devices
during the debugging process.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
disk/part.c
patch
|
blob
|
history
diff --git
a/disk/part.c
b/disk/part.c
index 72241b7b232c11a4244bb0143ddd8e24261a2077..91275154001d0e7f07d20063e2332cd8d3213f06 100644
(file)
--- 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:
- p
uts("UNKNOWN"
);
+ p
rintf("UNKNOWN(%d)", desc->uclass_id
);
break;
}
printf (" device %d -- Partition Type: %s\n\n",