[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdWU7gqwEMqTZQz8JoOS1-_mrtic-sWGnSgB3umJhKW2SA@mail.gmail.com>
Date: Mon, 7 Sep 2020 10:49:42 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: linux-m68k <linux-m68k@...ts.linux-m68k.org>
Cc: Greg Ungerer <gerg@...ux-m68k.org>,
Mike Rapoport <rppt@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] m68k: mm: Remove superfluous memblock_alloc*() casts
On Wed, Aug 26, 2020 at 3:04 PM Geert Uytterhoeven <geert@...ux-m68k.org> 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@...ux-m68k.org>
Thanks, queueing in the m68k for-v5.10 branch.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
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
Powered by blists - more mailing lists