[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72kfuDfHeL9Eb9e7PccZ+L9wMpnBj_gtFj3-aFfcvYuskA@mail.gmail.com>
Date: Wed, 21 Oct 2020 21:27:15 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Joe Perches <joe@...ches.com>
Cc: Nick Desaulniers <ndesaulniers@...gle.com>,
Lukas Bulwahn <lukas.bulwahn@...il.com>,
linux-kernel-mentees@...ts.linuxfoundation.org,
dwaipayanray1@...il.com, Aditya <yashsri421@...il.com>,
Peter Zijlstra <peterz@...radead.org>,
Jakub Jelinek <jakub@...hat.com>,
Florian Fainelli <f.fainelli@...il.com>,
kernel test robot <lkp@...el.com>,
Steven Rostedt <rostedt@...dmis.org>,
LKML <linux-kernel@...r.kernel.org>,
"maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" <x86@...nel.org>,
LKP <lkp@...ts.01.org>, Kees Cook <keescook@...omium.org>,
"H.J. Lu" <hjl.tools@...il.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
linux-toolchains@...r.kernel.org
Subject: Re: GCC section alignment, and GCC-4.9 being a weird one
On Wed, Oct 21, 2020 at 8:35 PM Joe Perches <joe@...ches.com> wrote:
>
> Perhaps something to add as a generic test in checkpatch.
Agreed! It would be nice to check all of them. Even checking for
`attribute` and `__attribute__` could be potentially reasonable (i.e.
so that people are reminded to consider adding whatever attributes
they need into `compiler_attributes.h`), although perhaps too
annoying/noisy for some (e.g. for `arch/*` devs...).
Cheers,
Miguel
Powered by blists - more mailing lists