Re: [PATCH] checkpatch: See if modified files are marked obsolete in MAINTAINERS

From: SF Markus Elfring
Date: Mon Aug 22 2016 - 16:51:00 EST


> @@ -2289,6 +2299,10 @@ sub process {
> }
>
> if ($found_file) {
> + if (is_maintained_obsolete($realfile)) {
> + WARN("OBSOLETE",
> + "$realfile is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.\n");
> + }

How do you think about to avoid a double negation in such a warning message?

Would a wording like "â Only really necessary modifications please.\n"
be more useful here?

Regards,
Markus