[Linux-kernel-mentees] [PATCH v5] checkpatch: extend attributes check to handle more patterns

Joe Perches joe at perches.com
Sun Oct 25 18:19:14 UTC 2020

On Sun, 2020-10-25 at 23:40 +0530, Dwaipayan Ray wrote:
> On Sun, Oct 25, 2020 at 11:29 PM Joe Perches <joe at perches.com> wrote:
> > Using $rawline would also change comments and that seems wrong.
> > Any reason to use $rawline instead of $line?
> Yes I used $line initially but changed it because quoted
> strings were being replaced.
> Like:
> __attribute__((__section__("_ftrace_events")))

Right thanks, that's a very sensible tradeoff to reduce code complexity.

More information about the Linux-kernel-mentees mailing list