Re: [PATCH v2 1/6] ARM: change vmalloc_min to be unsigned long

From: Xu, Yanfei
Date: Fri May 28 2021 - 09:11:39 EST




On 5/28/21 6:11 PM, Russell King (Oracle) wrote:
vmalloc_min is currently a void pointer, but everywhere its used
contains a cast - either to a void pointer when setting or back to
an integer type when being used. Eliminate these casts by changing
its type to unsigned long.

Reviewed-by: Linus Walleij<linus.walleij@xxxxxxxxxx>
Signed-off-by: Russell King (Oracle)<rmk+kernel@xxxxxxxxxxxxxxx>

Reviewed-by: Yanfei Xu <yanfei.xu@xxxxxxxxxxxxx>

Regards,
Yanfei