aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-01-10 16:29:50 -0800
committerSean Christopherson <seanjc@google.com>2025-02-12 09:00:55 -0800
commitf2228aa083240f44794c3617d4a22134ab26217c (patch)
tree7b3fe49d3935d016b73624ce31ec2214fe4bf369 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
parentKVM: selftests: Precisely track number of dirty/clear pages for each iteration (diff)
downloadlinux-rng-f2228aa083240f44794c3617d4a22134ab26217c.tar.xz
linux-rng-f2228aa083240f44794c3617d4a22134ab26217c.zip
KVM: selftests: Read per-page value into local var when verifying dirty_log_test
Cache the page's value during verification in a local variable, re-reading from the pointer is ugly and error prone, e.g. allows for bugs like checking the pointer itself instead of the value. No functional change intended. Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Link: https://lore.kernel.org/r/20250111003004.1235645-7-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions