lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 2 Oct 2021 18:29:52 +0200
From:   Miguel Ojeda <>
To:     Joe Perches <>
Cc:     Greg KH <>,
        Nick Desaulniers <>,
        Kees Cook <>,
        Linus Torvalds <>,
        Miguel Ojeda <>,
        Jonathan Corbet <>,
        Randy Dunlap <>,
        Alexey Dobriyan <>,
        Rasmus Villemoes <>,
        Andrew Morton <>,
        linux-kernel <>,
        Linux Doc Mailing List <>,
Subject: Re: [PATCH v4] docs: Explain the desired position of function attributes

On Sat, Oct 2, 2021 at 5:22 PM Joe Perches <> wrote:
> It's not so much a sort order so much as it's a positional one.

Sure, there are two parts, the order w.r.t. the signature parts (e.g.
"before return type") and the order between the attributes themselves.
Both are included in what I meant.

By the way, clang-format-13 already has a way to pass it a list of the
"attribute macros" (such as `__unused`), so adding more information on
top seems reasonable.


Powered by blists - more mailing lists