diff options
| author | Jason Wang <[email protected]> | 2025-07-14 08:47:53 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2025-08-01 13:11:09 +0000 |
| commit | b4ba1207d45adaafa2982c035898b36af2d3e518 (patch) | |
| tree | a47e9d84639c4c20605bfb4ce5e9f616da12e4a1 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | vhost: Reintroduce kthread API and add mode selection (diff) | |
| download | kernel-b4ba1207d45adaafa2982c035898b36af2d3e518.tar.gz kernel-b4ba1207d45adaafa2982c035898b36af2d3e518.zip | |
vhost: fail early when __vhost_add_used() fails
This patch fails vhost_add_used_n() early when __vhost_add_used()
fails to make sure used idx is not updated with stale used ring
information.
Reported-by: Eugenio Pérez <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Tested-by: Lei Yang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
