[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK8P3a3CEcAJnTk7ThYcM6Adm09Xvue9-C3jw4ph2fGeOvpu1A@mail.gmail.com>
Date: Tue, 15 Oct 2019 14:48:25 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Ben Dooks <ben.dooks@...ethink.co.uk>
Cc: linux-kernel@...ts.codethink.co.uk,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"open list:HARDWARE RANDOM NUMBER GENERATOR CORE"
<linux-crypto@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] hwrng: omap3-rom fix pointer warning for omap3_rom_rng_idle
On Tue, Oct 15, 2019 at 2:27 PM Ben Dooks <ben.dooks@...ethink.co.uk> wrote:
>
> The omap3_rom_rng_idle function takes a pointer, so give
> it a pointer instead of a plain 0. This fixes the following
> sparse warning:
>
> drivers/char/hw_random/omap3-rom-rng.c:115:28: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Ben Dooks <ben.dooks@...ethink.co.uk>
> ---
> Cc: Arnd Bergmann <arnd@...db.de>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: linux-crypto@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists