Check more text files: Objective-C, Meson, "hx", JSON, and property list.
Signed-off-by: Akihiko Odaki <[email protected]> --- Changes in v3: - Rebased. - Link to v2: https://lore.kernel.org/r/[email protected] --- scripts/checkpatch.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 2189db19f540..4ec74a4e9236 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -12,7 +12,8 @@ use Term::ANSIColor qw(:constants); my $P = $0; $P =~ s@.*/@@g; -our $SrcFile = qr{\.(?:(h|c)(\.inc)?|cpp|s|S|pl|py|sh)$}; +our $SrcFile = + qr{\.(?:(h|c|m)(\.inc)?|cpp|s|S|pl|py|sh|build|hx|in|json|plist|txt)$}; my $V = '0.31'; --- base-commit: 2db91528542672cf0db78b3f2cc0e22b36302b38 change-id: 20250111-checkpatch-26ea9d86c76a Best regards, -- Akihiko Odaki <[email protected]>
