Message ID | 1433244166-19298-1-git-send-email-stuart.haslam@linaro.org |
---|---|
State | Accepted |
Commit | 5c6b1d49b3f9afdae0212d3e332a8690d67e5498 |
Headers | show |
On 2 June 2015 at 07:22, Stuart Haslam <stuart.haslam@linaro.org> wrote: > When a file is added, deleted or renamed checkpatch produces a warning > about updating the MAINTAINERS file. Remove the warning as we don't > have a MAINTAINERS file. > > Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org> > Reviewed-by: Mike Holmes <mike.holmes@linaro.org> > --- > scripts/checkpatch.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index bc13831..7c264e4 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -1901,7 +1901,7 @@ sub process { > my $in_header_lines = $file ? 0 : 1; > my $in_commit_log = 0; #Scanning lines before patch > my $commit_log_long_line = 0; > - my $reported_maintainer_file = 0; > + my $reported_maintainer_file = 1; # No MAINTAINTERS so silence > warning > my $non_utf8_charset = 0; > > my $last_blank_line = 0; > -- > 2.1.1 > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp >
Merged. On 06/02/15 22:38, Mike Holmes wrote: > > > On 2 June 2015 at 07:22, Stuart Haslam <stuart.haslam@linaro.org > <mailto:stuart.haslam@linaro.org>> wrote: > > When a file is added, deleted or renamed checkpatch produces a warning > about updating the MAINTAINERS file. Remove the warning as we don't > have a MAINTAINERS file. > > Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org > <mailto:stuart.haslam@linaro.org>> > > > Reviewed-by: Mike Holmes <mike.holmes@linaro.org > <mailto:mike.holmes@linaro.org>> > > --- > scripts/checkpatch.pl <http://checkpatch.pl> | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/checkpatch.pl <http://checkpatch.pl> > b/scripts/checkpatch.pl <http://checkpatch.pl> > index bc13831..7c264e4 100755 > --- a/scripts/checkpatch.pl <http://checkpatch.pl> > +++ b/scripts/checkpatch.pl <http://checkpatch.pl> > @@ -1901,7 +1901,7 @@ sub process { > my $in_header_lines = $file ? 0 : 1; > my $in_commit_log = 0; #Scanning lines before patch > my $commit_log_long_line = 0; > - my $reported_maintainer_file = 0; > + my $reported_maintainer_file = 1; # No MAINTAINTERS so > silence warning > my $non_utf8_charset = 0; > > my $last_blank_line = 0; > -- > 2.1.1 > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org> > https://lists.linaro.org/mailman/listinfo/lng-odp > > > > > -- > Mike Holmes > Technical Manager - Linaro Networking Group > Linaro.org <http://www.linaro.org/>***│ *Open source software for ARM SoCs > > > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index bc13831..7c264e4 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1901,7 +1901,7 @@ sub process { my $in_header_lines = $file ? 0 : 1; my $in_commit_log = 0; #Scanning lines before patch my $commit_log_long_line = 0; - my $reported_maintainer_file = 0; + my $reported_maintainer_file = 1; # No MAINTAINTERS so silence warning my $non_utf8_charset = 0; my $last_blank_line = 0;
When a file is added, deleted or renamed checkpatch produces a warning about updating the MAINTAINERS file. Remove the warning as we don't have a MAINTAINERS file. Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org> --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)