Re: [PATCH v3 1/1] checkpatch: Don't warn on "orhapned" DT schema file

From: Joe Perches

Date: Mon Oct 27 2025 - 11:52:22 EST


On Mon, 2025-10-27 at 10:36 +0100, Andy Shevchenko wrote:
> Currently checkpatch warns is the DT schema file is absent in MAINTAINERS.
> However the DT schema files are self-contained in this sense and
> have embedded information about maintainers of it. This is a requirement.
> Hence, avoid checkpatch warning about it.
>
> Tested-by: Akhilesh Patil <akhilesh@xxxxxxxxxxxxx>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

nackish.

Perhaps it'd be better to make checkpatch and get_maintainer have
some list of filename suffixes that are expected to have embedded
maintainer email addresses

Maybe something like:

our $maintainer_in_file_types = '\.(?:yaml|dts.?|rst)$';