[LTP] checkpatch: Disable more kernel specific checks
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Thu May 28 13:44:49 CEST 2026
Hi Petr,
On Thu, 28 May 2026 12:27:57 +0200, Petr Vorel wrote:
> checkpatch: Disable more kernel specific checks
> -–ignore PREFER_KERNEL_TYPES,STRCPY,STRLCPY,STRNCPY
> +–ignore PREFER_KERNEL_TYPES,STRCPY,STRLCPY,STRNCPY,BIT_MACRO,PREFER_DEFINED_ATTRIBUTE_MACRO
Both BIT_MACRO and PREFER_DEFINED_ATTRIBUTE_MACRO are confirmed present in
scripts/checkpatch.pl, and the rationale for each is clearly documented
in the commit message. Good placement in the "kernel specific" ignore group.
All good. Reviewed.
---
Note:
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
More information about the ltp
mailing list