[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKwvOdmNdvgv=+P1CU36fG+trETojmPEXSMmAmX2TY0e67X-Wg@mail.gmail.com>
Date: Fri, 9 Aug 2019 15:21:31 -0700
From: Nick Desaulniers <ndesaulniers@...gle.com>
To: Joe Perches <joe@...ches.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Sedat Dilek <sedat.dilek@...il.com>,
Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Subject: checkpatch.pl should suggest __section
Hi Joe,
While debugging:
https://github.com/ClangBuiltLinux/linux/issues/619
we found a bunch of places where __section is not used but could be,
and uses a string literal when it probably should not be.
Just a thought that maybe checkpatch.pl could warn if
`__attribute__((section` appeared in the added diff, and suggest
__section? Then further warn to not use `""` for the section name?
--
Thanks,
~Nick Desaulniers
Powered by blists - more mailing lists