diff options
| author | Christoph Hellwig <[email protected]> | 2021-09-24 17:56:54 +0200 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2021-09-30 12:46:43 -0600 |
| commit | 1362591f15233bdc3d1fbf27e266068bd16a4e92 (patch) | |
| tree | 0e88ca56a5015a276893daadfa3912a3202d4e32 /lib/mpi/mpi-cmp.c | |
| parent | c5b4ba9730e6d607d11c3c3c9b2f04852e121423 (diff) | |
vfio: factor out a vfio_group_find_or_alloc helper
Factor out a helper to find or allocate the vfio_group to reduce the
spagetthi code in vfio_register_group_dev a little.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions