On Wed, Oct 21, 2020 at 8:35 PM Joe Perches <j...@perches.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