diff options
author | Neeraj Upadhyay <Neeraj.Upadhyay@amd.com> | 2025-07-09 09:02:12 +0530 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-07-10 09:44:38 -0700 |
commit | e2fa7905b293750ee75573eeee3e54575ded8217 (patch) | |
tree | c046e0ed77252a476abe80e4b9e4c67e72090a18 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 9cbb5fd156d777cc09f57af20505e5e17ad6263b (diff) |
KVM: x86: Change lapic regs base address to void pointer
Change APIC base address from "char *" to "void *" in KVM
lapic's set/get helper functions. Pointer arithmetic for "void *"
and "char *" operate identically. With "void *" there is less
of a chance of doing the wrong thing, e.g. neglecting to cast and
reading a byte instead of the desired APIC register size.
No functional change intended.
Signed-off-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Acked-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20250709033242.267892-6-Neeraj.Upadhyay@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions