]> git.baikalelectronics.ru Git - uboot.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)
commit8303a960864e839f77a05bcd71982f010694e1c1
tree3d05e8dae70f73c81d5d119c082ea16ed4868a1a
parent8aaed9ae0a7b2d03e660974487fa7bf5b7f071a0
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