Re: [PATCH] m68k: mm: Remove superfluous memblock_alloc*() casts

From: Geert Uytterhoeven
Date: Mon Sep 07 2020 - 04:50:00 EST


On Wed, Aug 26, 2020 at 3:04 PM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> The return type of memblock_alloc*() is a void pointer, so there is no
> need to cast it to "void *" or some other pointer type, before assigning
> it to a pointer variable.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Thanks, queueing in the m68k for-v5.10 branch.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds