Files
linux-stable-mirror/include/asm-generic
Kameron Carr c86078dd89 Drivers: hv: Change hv_free_hyperv_page() to take void * argument
[ Upstream commit a6fe043880 ]

Currently hv_free_hyperv_page() takes an unsigned long argument, which
is inconsistent with the void * return value from the corresponding
hv_alloc_hyperv_page() function and variants. This creates unnecessary
extra casting.

Change the hv_free_hyperv_page() argument type to void *.
Also remove redundant casts from invocations of
hv_alloc_hyperv_page() and variants.

Signed-off-by: Kameron Carr <kameroncarr@linux.microsoft.com>
Reviewed-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Link: https://lore.kernel.org/r/1687558189-19734-1-git-send-email-kameroncarr@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Stable-dep-of: 09eea7ad0b ("Drivers: hv: Allocate interrupt and monitor pages aligned to system page boundary")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-06 10:57:58 +02:00
..
2022-02-25 09:36:06 +01:00
2022-09-26 10:13:14 -07:00
2022-07-22 17:34:57 -05:00
2022-02-25 09:36:06 +01:00