Thread (3 messages) 3 messages, 1 author, 16h ago
HOTtoday

[PATCH v1 0/2] iommu/virtio: Fix probe error handling

From: weimin xiong <hidden>
Date: 2026-07-14 02:50:22
Also in: linux-iommu, lkml

From: Xiong Weimin <redacted>

Hi,

This small series fixes two probe-time error handling issues in the
virtio-iommu driver.

The first patch avoids dereferencing a device after dropping the
reference returned by bus_find_device(). The second patch propagates
failures from iommu_device_register() and unwinds the resources that
were set up earlier in probe.

Xiong Weimin (2):
  iommu/virtio: Avoid use-after-put in viommu_get_by_fwnode
  iommu/virtio: Handle iommu_device_register() failures

 drivers/iommu/virtio-iommu.c | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help