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

From: Joe Perches
Date: Sun Oct 25 2020 - 04:38:20 EST


On Sun, 2020-10-25 at 14:02 +0530, Dwaipayan Ray wrote:
> And also do you think there should be a separate check
> for __alias__(#symbol)? I think it expects a string and that should
> be trimmed in the fix.

For now, I think you should avoid both alias and section.

There are patches to convert both of these macros to remove
the stringify.