mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
BackMerge tag 'v7.0-rc6' into drm-next
Linux 7.0-rc6 Requested by a few people on irc to resolve conflicts in other tress. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -316,11 +316,10 @@ int vfio_pci_core_feature_dma_buf(struct vfio_pci_core_device *vdev, u32 flags,
|
||||
*/
|
||||
ret = dma_buf_fd(priv->dmabuf, get_dma_buf.open_flags);
|
||||
if (ret < 0)
|
||||
goto err_dma_buf;
|
||||
dma_buf_put(priv->dmabuf);
|
||||
|
||||
return ret;
|
||||
|
||||
err_dma_buf:
|
||||
dma_buf_put(priv->dmabuf);
|
||||
err_dev_put:
|
||||
vfio_device_put_registration(&vdev->vdev);
|
||||
err_free_phys:
|
||||
|
||||
Reference in New Issue
Block a user