projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'netfs-fixes-20210621' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git]
/
drivers
/
dma
/
idxd
/
cdev.c
diff --git
a/drivers/dma/idxd/cdev.c
b/drivers/dma/idxd/cdev.c
index
302cba5
..
d4419bf
100644
(file)
--- a/
drivers/dma/idxd/cdev.c
+++ b/
drivers/dma/idxd/cdev.c
@@
-110,6
+110,7
@@
static int idxd_cdev_open(struct inode *inode, struct file *filp)
pasid = iommu_sva_get_pasid(sva);
if (pasid == IOMMU_PASID_INVALID) {
iommu_sva_unbind_device(sva);
+ rc = -EINVAL;
goto failed;
}