aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2021-08-05 22:18:58 -0300
committerAlex Williamson <[email protected]>2021-08-11 09:50:10 -0600
commitde5494af4815a4c9328536c72741229b7de88e7f (patch)
treed7af67843eedbccdcae8425e877d8a32024ec9ed /tools/perf/util/c++/clang.cpp
parente1706f0764f8bea42db8d33df5d7f9e754b89693 (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 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions