Messages in this thread | | | From | Dexuan Cui <> | Subject | RE: [PATCH v2] Drivers: hv: Change hv_free_hyperv_page() to take void * argument | Date | Fri, 23 Jun 2023 22:19:31 +0000 |
| |
> From: Kameron Carr <kameroncarr@linux.microsoft.com> > Sent: Friday, June 23, 2023 3:10 PM > ... > 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> > --- > V1 -> V2: Added Signed-off-by
Reviewed-by: Dexuan Cui <decui@microsoft.com>
| |