diff options
author | Neeraj Upadhyay <Neeraj.Upadhyay@amd.com> | 2025-07-09 06:32:12 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-07-10 19:44:38 +0300 |
commit | e2fa7905b293750ee75573eeee3e54575ded8217 (patch) | |
tree | c046e0ed77252a476abe80e4b9e4c67e72090a18 /drivers/fpga/zynq-fpga.c | |
parent | 9cbb5fd156d777cc09f57af20505e5e17ad6263b (diff) | |
download | linux-e2fa7905b293750ee75573eeee3e54575ded8217.tar.xz |
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 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions