aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorAckerley Tng <[email protected]>2024-03-14 16:26:23 -0700
committerSean Christopherson <[email protected]>2024-04-29 12:55:10 -0700
commit0d95817e075314706b3e4086080a9bbb1421634c (patch)
tree6ea4d9590eb36fb0e033a9a7e5710a87d397eb94 /include/linux/overflow.h
parent3a085fbf8228cfcdbf48ded8915618e10226f2e3 (diff)
KVM: selftests: Fix off-by-one initialization of GDT limit
Fix an off-by-one bug in the initialization of the GDT limit, which as defined in the SDM is inclusive, not exclusive. Note, vcpu_init_descriptor_tables() gets the limit correct, it's only vcpu_setup() that is broken, i.e. only tests that _don't_ invoke vcpu_init_descriptor_tables() can have problems. And the fact that KVM effectively initializes the GDT twice will be cleaned up in the near future. Signed-off-by: Ackerley Tng <[email protected]> [sean: rewrite changelog] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions