[Linux-kernel-mentees] [PATCH v3] checkpatch: add --fix option to include linux checks
dwaipayanray1 at gmail.com
Wed Dec 9 15:22:08 UTC 2020
> Dwaipayan, can you run this rule from checkpatch.pl on all files in
> the current linux-next tree and share all findings with me?
> Maybe, we can fix a few places and improve the rule.
I am actually a bit confused here. I couldn't find any particular place in
documentation which demarcates where to include asm or linux headers.
As far as my understanding, include/linux headers are meant to be
There are several places in the kernel tree which use the <asm/*> headers.
Checkpatch emits warnings for the following headers in kernel/ :
drivers/ had yet a more number of such uses.
I am not entirely sure that changing them will break more stuff or not.
It would be great to have your opinions on this as experienced kernel
More information about the Linux-kernel-mentees