[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9f262a81acffffb6e267d5832b29d8596d8046e2.camel@perches.com>
Date: Sat, 02 Oct 2021 08:21:58 -0700
From: Joe Perches <joe@...ches.com>
To: Greg KH <gregkh@...uxfoundation.org>,
Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Kees Cook <keescook@...omium.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Miguel Ojeda <ojeda@...nel.org>,
Jonathan Corbet <corbet@....net>,
Randy Dunlap <rdunlap@...radead.org>,
Alexey Dobriyan <adobriyan@...il.com>,
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
Subject: Re: [PATCH v4] docs: Explain the desired position of function
attributes
On Sat, 2021-10-02 at 08:31 +0200, Greg KH wrote:
> I would think that now we have a format that the tools can
> actually follow, while before it was semi-random as to what to pick as
> the "one true way".
There will never be 'one true (and universal) way'.
Most existing code doesn't follow the suggested formatting and you
can't require or expect the existing code to change.
If automated scripts exist to change all the code to that new
'one true way', it wouldn't be applied.
> What am I missing here?
Try writing a regex for the proposal and make sure to separate out
all the various __<foo> attributes into their proper locations...
yuck and g'luck.
Powered by blists - more mailing lists