git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa6f57d
)
disk: part: add the device search failed log msg
author
Oleksii Bidnichenko
<oleksii.bidnichenko@toradex.com>
Fri, 8 Apr 2022 08:07:13 +0000
(10:07 +0200)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 12 Apr 2022 17:10:44 +0000
(19:10 +0200)
Add missing error message to blk_get_device_part_str.
Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
disk/part.c
patch
|
blob
|
history
diff --git
a/disk/part.c
b/disk/part.c
index
b95405b
..
79955c7
100644
(file)
--- a/
disk/part.c
+++ b/
disk/part.c
@@
-527,6
+527,8
@@
int blk_get_device_part_str(const char *ifname, const char *dev_part_str,
/* Look up the device */
dev = blk_get_device_by_str(ifname, dev_str, dev_desc);
if (dev < 0) {
+ printf("** Bad device specification %s %s **\n",
+ ifname, dev_str);
ret = dev;
goto cleanup;
}