diff options
author | Kameron Carr <kameroncarr@linux.microsoft.com> | 2023-06-24 00:09:49 +0200 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2023-06-28 19:51:18 +0200 |
commit | a6fe043880820981f6e4918240f967ea79bb063e (patch) | |
tree | 1b9054f6220bdef8f12c3f91fdb30662c9dd9494 /include/uapi/rdma | |
parent | Linux 6.4 (diff) | |
download | linux-a6fe043880820981f6e4918240f967ea79bb063e.tar.xz linux-a6fe043880820981f6e4918240f967ea79bb063e.zip |
Drivers: hv: Change hv_free_hyperv_page() to take void * argument
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>
Diffstat (limited to 'include/uapi/rdma')
0 files changed, 0 insertions, 0 deletions