diff options
| author | Kameron Carr <[email protected]> | 2023-06-23 22:09:49 +0000 |
|---|---|---|
| committer | Wei Liu <[email protected]> | 2023-06-28 17:51:18 +0000 |
| commit | a6fe043880820981f6e4918240f967ea79bb063e (patch) | |
| tree | 1b9054f6220bdef8f12c3f91fdb30662c9dd9494 /scripts/clang-tools/gen_compile_commands.py | |
| parent | Linux 6.4 (diff) | |
| download | kernel-a6fe043880820981f6e4918240f967ea79bb063e.tar.gz kernel-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 <[email protected]>
Reviewed-by: Nuno Das Neves <[email protected]>
Reviewed-by: Dexuan Cui <[email protected]>
Link: https://lore.kernel.org/r/1687558189-19734-1-git-send-email-kameroncarr@linux.microsoft.com
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
