[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191023143936.GH5610@atomide.com>
Date: Wed, 23 Oct 2019 07:39:36 -0700
From: Tony Lindgren <tony@...mide.com>
To: Sebastian Reichel <sre@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>, Matt Mackall <mpm@...enic.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Aaro Koskinen <aaro.koskinen@....fi>,
Adam Ford <aford173@...il.com>,
Pali Rohár <pali.rohar@...il.com>,
Tero Kristo <t-kristo@...com>, Rob Herring <robh@...nel.org>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwrng: omap3-rom - Fix unused function warnings
* Sebastian Reichel <sre@...nel.org> [191023 13:15]:
> Hi,
>
> On Tue, Oct 22, 2019 at 04:27:31PM +0200, Arnd Bergmann wrote:
> > When runtime-pm is disabled, we get a few harmless warnings:
> >
> > drivers/char/hw_random/omap3-rom-rng.c:65:12: error: unused function 'omap_rom_rng_runtime_suspend' [-Werror,-Wunused-function]
> > drivers/char/hw_random/omap3-rom-rng.c:81:12: error: unused function 'omap_rom_rng_runtime_resume' [-Werror,-Wunused-function]
> >
> > Mark these functions as __maybe_unused so gcc can drop them
> > silently.
> >
> > Fixes: 8d9d4bdc495f ("hwrng: omap3-rom - Use runtime PM instead of custom functions")
> > Signed-off-by: Arnd Bergmann <arnd@...db.de>
> > ---
>
> Reviewed-by: Sebastian Reichel <sebastian.reichel@...labora.com>
Thanks for fixing these similar issues again:
Reviewwed-by: Tony Lindgren <tony@...mide.com>
Powered by blists - more mailing lists