diff options
author | Sean Christopherson <[email protected]> | 2023-07-28 17:47:14 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2023-08-31 13:48:42 -0400 |
commit | 242a6dd8daddbc718a3ad585ce4dce042c13e208 (patch) | |
tree | 9a0fbdf95452e6b76178bb47e76e4868bf7b1a1a /net/lapb/lapb_iface.c | |
parent | c4f92cfe021d9263a554f8adcd7c49ef52e485bb (diff) |
KVM: x86/mmu: Avoid pointer arithmetic when iterating over SPTEs
Replace the pointer arithmetic used to iterate over SPTEs in
is_empty_shadow_page() with more standard interger-based iteration.
No functional change intended.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions