ACPI: PRM: Change handler_addr type to void pointer
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 28 Jun 2022 12:53:43 +0000 (13:53 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 30 Jun 2022 15:35:45 +0000 (17:35 +0200)
commit353efd5e97a7973d78f2634274b57309d0966e29
treef93d555f0593996ece12a58a22d6eda7fd2bd54f
parent8add9a3a2243166f8f60fc20e876caaf30a333f7
ACPI: PRM: Change handler_addr type to void pointer

handler_addr is a virtual address passed to efi_call_virt_pointer.
While x86 currently type cast it into the pointer in it's arch specific
arch_efi_call_virt() implementation, ARM64 is restrictive for right
reasons.

Convert the handler_addr type from u64 to void pointer.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/acpi/prmt.c