]> git.dujemihanovic.xyz Git - u-boot.git/commit
virtio: Fix returning -ENODEV
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:49 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:40 +0000 (18:11 -0500)
commit811c81e88990555117e5d8cd5ef585f4b0d2400b
tree3d05e8dae70f73c81d5d119c082ea16ed4868a1a
parent59a6be9b1147e43c68236cb52be7b56c586be03a
virtio: Fix returning -ENODEV

This has a special meaning in driver model. There is clearly a device, so
it does not make sense to return this error code. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/virtio/virtio-uclass.c