Home
last modified time | relevance | path

Searched hist:f181a3736b7f76410040a3f16cbbfbdec2580bf9 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/vdpa/virtio_pci/
H A Dvp_vdpa.cdiff f181a3736b7f76410040a3f16cbbfbdec2580bf9 Mon Mar 25 11:54:47 CET 2024 Yuxue Liu <yuxue.liu@jaguarmicro.com> vp_vdpa: Fix return value check vp_vdpa_request_irq

In the vp_vdpa_set_status function, when setting the device status to
VIRTIO_CONFIG_S_DRIVER_OK, the vp_vdpa_request_irq function may fail.
In such cases, the device status should not be set to DRIVER_OK. Add
exception printing to remind the user.

Signed-off-by: Yuxue Liu <yuxue.liu@jaguarmicro.com>
Message-Id: <20240325105448.235-1-gavin.liu@jaguarmicro.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>