mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
virtio: provide driver name in debug message
If a driver cannot be bound, provide the driver name in the debug message. Now the debug message may look like this: (virtio-pci.l#0): virtio-rng driver not configured Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
42cd759a37
commit
63baa84129
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ static int virtio_uclass_post_probe(struct udevice *udev)
|
|||
|
||||
ret = device_bind_driver(udev, name, str, &vdev);
|
||||
if (ret == -ENOENT) {
|
||||
debug("(%s): no driver configured\n", udev->name);
|
||||
debug("(%s): %s driver not configured\n", udev->name, name);
|
||||
return 0;
|
||||
}
|
||||
if (ret) {
|
||||
|
|
Loading…
Add table
Reference in a new issue