Re: [PATCH 2/4] ARM: use a temporary variable to hold maximum vmalloc size

From: Linus Walleij
Date: Tue May 18 2021 - 18:11:59 EST


On Tue, May 18, 2021 at 2:15 PM Russell King (Oracle)
<rmk+kernel@xxxxxxxxxxxxxxx> wrote:

> We calculate the maximum size of the vmalloc space twice in
> early_vmalloc(). Use a temporary variable to hold this value.
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij