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

From: Andy Shevchenko
Date: Wed Dec 16 2020 - 05:48:56 EST


On Tue, Dec 15, 2020 at 1:49 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> On 12/14/20 3:19 AM, Andy Shevchenko wrote:
> > 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.
> >
>
> Where is it located? My search foo could not find it.

Closest what I know is [2].

[2]: https://kernelnewbies.org/FAQ/CodingStyle



--
With Best Regards,
Andy Shevchenko