Commit 237603a
iommu: Make @handle mandatory in iommu_{attach|replace}_group_handle()
Caller of the two APIs always provide a valid handle, make @handle as
mandatory parameter. Take this chance incoporate the handle->domain
set under the protection of group->mutex in iommu_attach_group_handle().
Link: https://patch.msgid.link/r/[email protected]
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Nicolin Chen <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>1 parent 40f5175 commit 237603a
1 file changed
+8
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3511 | 3511 | | |
3512 | 3512 | | |
3513 | 3513 | | |
3514 | | - | |
3515 | | - | |
| 3514 | + | |
| 3515 | + | |
3516 | 3516 | | |
3517 | 3517 | | |
| 3518 | + | |
3518 | 3519 | | |
3519 | 3520 | | |
3520 | 3521 | | |
| |||
3568 | 3569 | | |
3569 | 3570 | | |
3570 | 3571 | | |
3571 | | - | |
| 3572 | + | |
3572 | 3573 | | |
3573 | 3574 | | |
3574 | 3575 | | |
3575 | | - | |
3576 | | - | |
3577 | | - | |
3578 | | - | |
3579 | | - | |
3580 | | - | |
| 3576 | + | |
| 3577 | + | |
| 3578 | + | |
| 3579 | + | |
3581 | 3580 | | |
3582 | 3581 | | |
3583 | 3582 | | |
| |||
0 commit comments