Re: [PATCH v6] checkpatch: extend attributes check to handle more patterns

2020-10-25 Thread Joe Perches
On Mon, 2020-10-26 at 01:01 +0530, Dwaipayan Ray wrote: > It is generally preferred that the macros from > include/linux/compiler_attributes.h are used, unless there > is a reason not to. > > checkpatch currently checks __attribute__ for each of > packed, aligned, section, printf, scanf, and weak.

[PATCH v6] checkpatch: extend attributes check to handle more patterns

2020-10-25 Thread Dwaipayan Ray
It is generally preferred that the macros from include/linux/compiler_attributes.h are used, unless there is a reason not to. checkpatch currently checks __attribute__ for each of packed, aligned, section, printf, scanf, and weak. Other declarations in compiler_attributes.h are not handled. Add a