mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* checkpatch.pl should suggest __section
@ 2019-08-09 22:21 Nick Desaulniers
  2019-08-09 22:58 ` Joe Perches
  2019-08-10 13:37 ` Miguel Ojeda
  0 siblings, 2 replies; 8+ messages in thread
From: Nick Desaulniers @ 2019-08-09 22:21 UTC (permalink / raw)
  To: Joe Perches; +Cc: LKML, Josh Poimboeuf, Sedat Dilek, Miguel Ojeda

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-08-12 19:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09 22:21 checkpatch.pl should suggest __section Nick Desaulniers
2019-08-09 22:58 ` Joe Perches
2019-08-09 23:04   ` Nick Desaulniers
2019-08-09 23:17     ` Joe Perches
2019-08-12 18:20       ` Nick Desaulniers
2019-08-12 18:27         ` Joe Perches
2019-08-12 19:41           ` Nick Desaulniers
2019-08-10 13:37 ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®