Re: [PATCH] mfd: Avoid unused variable 'atmel_flexcom_pm_ops' warning
From: Lee Jones
Date: Mon Feb 28 2022 - 03:15:32 EST
On Mon, 28 Feb 2022, Claudiu.Beznea@xxxxxxxxxxxxx wrote:
> On 25.02.2022 21:00, Guenter Roeck wrote:
> > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> >
> > On Fri, Feb 25, 2022 at 2:15 AM Aashish Sharma <shraash@xxxxxxxxxx> wrote:
> >>
> >> Fix this kernel test robot warning:
> >>
> >> drivers/mfd/atmel-flexcom.c:108:32: warning: unused
> >> variable 'atmel_flexcom_pm_ops' [-Wunused-const-variable]
> >>
> >> The variable atmel_flexcom_pm_ops is unused when CONFIG_PM
> >> is not selected, so marking it as __maybe_unsed.
> >>
> >> Signed-off-by: Aashish Sharma <shraash@xxxxxxxxxx>
> >
> > Reviewed-by: Guenter Roeck <groeck@xxxxxxxxxx>
>
> There is already [1] posted a while ago...
>
> [1] https://lkml.org/lkml/2021/12/7/474
Lost in the ether!
If this happens again, please resubmit a [RESEND].
Applied now though, thanks.
--
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog