[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADYN=9KUXdnmpEHRY7CGCpQa3H4C0M=a3wyNueXkgpssSdik6A@mail.gmail.com>
Date: Wed, 19 Jun 2019 09:57:49 +0200
From: Anders Roxell <anders.roxell@...aro.org>
To: Thierry Reding <thierry.reding@...il.com>
Cc: jassisinghbrar@...il.com, jonathanh@...dia.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-tegra@...r.kernel.org
Subject: Re: [PATCH] mailbox: tegra-hsp: mark PM functions as __maybe_unused
On Wed, 19 Jun 2019 at 09:56, Anders Roxell <anders.roxell@...aro.org> wrote:
>
> On Thu, 10 Jan 2019 at 09:16, Thierry Reding <thierry.reding@...il.com> wrote:
> >
> > On Tue, Jan 08, 2019 at 03:37:13PM +0100, Anders Roxell wrote:
> > > Without CONFIG_PM_SLEEP, we get annoying warnings about unused
> > > functions:
> > >
> > > drivers/mailbox/tegra-hsp.c:782:12: warning: ‘tegra_hsp_resume’ defined but not used [-Wunused-function]
> > > static int tegra_hsp_resume(struct device *dev)
> > > ^~~~~~~~~~~~~~~~
> > >
> > > Mark them as __maybe_unused to shut up the warning and silently drop the
> > > functions without having to add ugly #ifdefs.
> > >
> > > Fixes: 9a63f0f40599 ("mailbox: tegra-hsp: Add suspend/resume support")
> > > Signed-off-by: Anders Roxell <anders.roxell@...aro.org>
> > > ---
> > > drivers/mailbox/tegra-hsp.c | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > Acked-by: Thierry Reding <treding@...dia.com>
>
> Will this be picked up ?
its already solved.
Sorry for the noice. =/
Anders
>
> Cheers,
> Anders
Powered by blists - more mailing lists