Re: [PATCH -next] platform: surface: fix non-PM_SLEEP build warnings

From: Andy Shevchenko
Date: Mon Dec 14 2020 - 06:21:26 EST


On Mon, Dec 14, 2020 at 2:53 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> On 12/12/20 11:07 AM, Andy Shevchenko wrote:
> > On Sat, Dec 12, 2020 at 7:05 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

...

> > Here [1] is the rationale behind annotation vs. ifdeffery.
> >
> > [1]: https://lore.kernel.org/patchwork/patch/732981/
> >
> Thanks for the link. I'll send a v2.
>
> Could we add that to the Linux BKP (Best Known Practices)
> document?

Perhaps. The author of that is Arnd, maybe he has something to add.

--
With Best Regards,
Andy Shevchenko