[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87mtneujcw.fsf@meer.lwn.net>
Date: Tue, 12 Oct 2021 13:35:27 -0600
From: Jonathan Corbet <corbet@....net>
To: Kees Cook <keescook@...omium.org>
Cc: Kees Cook <keescook@...omium.org>,
Randy Dunlap <rdunlap@...radead.org>,
Joe Perches <joe@...ches.com>,
Alexey Dobriyan <adobriyan@...il.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
linux-hardening@...r.kernel.org,
Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Subject: Re: [PATCH v5] docs: Explain the desired position of function
attributes
Kees Cook <keescook@...omium.org> writes:
> While discussing how to format the addition of various function
> attributes, some "unwritten rules" of ordering surfaced[1]. Capture as
> close as possible to Linus's preferences for future reference.
>
> (Though I note the dissent voiced by Joe Perches, Alexey Dobriyan, and
> others that would prefer all attributes live on a separate leading line.)
>
> [1] https://lore.kernel.org/mm-commits/CAHk-=wiOCLRny5aifWNhr621kYrJwhfURsa0vFPeUEm8mF0ufg@mail.gmail.com/
>
> Signed-off-by: Kees Cook <keescook@...omium.org>
> ---
> v5:
> - drop extern (joe)
> - fix __malloc position (miguel)
> v4: https://lore.kernel.org/lkml/20210930235754.2635912-1-keescook@chromium.org
> ---
> Documentation/process/coding-style.rst | 37 +++++++++++++++++++++++++-
> 1 file changed, 36 insertions(+), 1 deletion(-)
I've applied this, thanks.
jon
Powered by blists - more mailing lists