On 2026-05-12T08:39:49, Christian Pötzsch <[email protected]> wrote: > virtio: fix return value check > > The virtio_blk_do_single_req function returns ulong, which normally is > the processed size, but in an error case can be the actual error. Use > the special IS_ERR_VALUE macro to test for error. > > Addresses-Coverity-ID: CID 645833 (DEADCODE) & CID 645834 (NO_EFFECT) > Signed-off-by: Christian Pötzsch <[email protected]> > > drivers/virtio/virtio_blk.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <[email protected]>

