diff options
| author | Alex Williamson <alex.williamson@nvidia.com> | 2026-04-14 23:06:22 +0300 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-04-21 21:01:21 +0300 |
| commit | b0eab97305ae97190a605117095d84f12ecef187 (patch) | |
| tree | 8a5960321cc2a383c02f5a390159a4f4628043d1 /include/linux | |
| parent | b5b268cb7868b598e53eeebd36174c8b27d4cd86 (diff) | |
| download | linux-b0eab97305ae97190a605117095d84f12ecef187.tar.xz | |
vfio/virtio: Use guard() for bar_mutex in legacy I/O
Convert the bar_mutex acquisition in virtiovf_issue_legacy_rw_cmd()
to use guard(), eliminating the out label and goto-based error paths
in favor of direct returns.
Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Alex Williamson <alex.williamson@nvidia.com>
Reviewed-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20260414200625.3601509-5-alex.williamson@nvidia.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
