[Proposal] end of file checks by checkpatch.pl

From: Masahiro Yamada
Date: Thu May 09 2019 - 11:29:44 EST


Hi Joe,


Does it make sense to check the following
by checkpatch.pl ?


[1] blank line at end of file

[2] no new line at end of file



When I apply a patch,
I sometimes see the following warning from 'git am'.


Applying: kunit: test: add string_stream a std::stream like string builder
.git/rebase-apply/patch:223: new blank line at EOF.
+


I just thought it could be checked
before the patch submission.


--
Best Regards
Masahiro Yamada