aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/kernel/hibernate.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2023-05-23 16:03:42 +0200
committerLinus Walleij <[email protected]>2023-05-29 11:27:08 +0200
commite36bfc0bc3ceb3ace1ff0ed5f9ed781395b6cbc5 (patch)
tree4c36403dfe2ad42376f8867cc570c164e0bc4501 /arch/arm/kernel/hibernate.c
parentee5971613da37b92ceb5cadfe878074eabcd5deb (diff)
xen/netback: Pass (void *) to virt_to_page()
virt_to_page() takes a virtual address as argument but the driver passes an unsigned long, which works because the target platform(s) uses polymorphic macros to calculate the page. Since many architectures implement virt_to_pfn() as a macro, this function becomes polymorphic and accepts both a (unsigned long) and a (void *). Fix this up by an explicit (void *) cast. Cc: Wei Liu <[email protected]> Cc: Paul Durrant <[email protected]> Cc: [email protected] Cc: [email protected] Acked-by: Wei Liu <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'arch/arm/kernel/hibernate.c')
0 files changed, 0 insertions, 0 deletions