Commit 083c016
committed
iommufd_ioctls: Use *mut cast for IOMMU_IOAS_UNMAP
The kernel updates the length field to return the unmapped size, so the
struct should be passed as a mutable pointer to the ioctl.
Signed-off-by: Bo Chen <bchen@crusoe.ai>1 parent 203e79e commit 083c016
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments