diff options
author | Jason Gunthorpe <[email protected]> | 2021-08-05 22:18:58 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2021-08-11 09:50:10 -0600 |
commit | de5494af4815a4c9328536c72741229b7de88e7f (patch) | |
tree | d7af67843eedbccdcae8425e877d8a32024ec9ed /scripts/clang-tools/gen_compile_commands.py | |
parent | e1706f0764f8bea42db8d33df5d7f9e754b89693 (diff) |
vfio/mbochs: Fix missing error unwind of mbochs_used_mbytes
Convert mbochs to use an atomic scheme for this like mtty was changed
into. The atomic fixes various race conditions with probing. Add the
missing error unwind. Also add the missing kfree of mdev_state->pages.
Fixes: 681c1615f891 ("vfio/mbochs: Convert to use vfio_register_group_dev()")
Reported-by: Cornelia Huck <[email protected]>
Co-developed-by: Alex Williamson <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions