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

2016-08-22 Thread Joe Perches
On Mon, 2016-08-22 at 22:50 +0200, SF Markus Elfring wrote: > > @@ -2289,6 +2299,10 @@ sub process { > >   } > >   > >   if ($found_file) { > > + if (is_maintained_obsolete($realfile)) { > > + WARN("OBSOLETE", > > +

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

2016-08-22 Thread SF Markus Elfring
> @@ -2289,6 +2299,10 @@ sub process { > } > > if ($found_file) { > + if (is_maintained_obsolete($realfile)) { > + WARN("OBSOLETE", > + "$realfile is marked as 'obsolete' in the >

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

2016-08-22 Thread Joe Perches
Use get_maintainer to check the status of individual files. If "obsolete", suggest leaving the files alone. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 14 ++ 1 file changed, 14 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl