Masahiro Yamada 723679339d kconfig: warn no new line at end of file
It would be nice to warn if a new line is missing at end of file.

We could do this by checkpatch.pl for arbitrary files, but new line
is rather essential as a statement terminator in Kconfig.

The warning message looks like this:

  kernel/Kconfig.preempt:60:warning: no new line at end of file

Currently, kernel/Kconfig.preempt is the only file with no new line
at end of file. Fix it.

I know there are some false negative cases. For example, no warning
is displayed when the last line contains some whitespaces/comments,
but no new line. Yet, this commit works well for most cases.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-12-15 17:44:35 +09:00
..
2018-11-02 11:25:48 -07:00
2018-10-31 08:54:16 -07:00
2018-11-01 10:00:38 +01:00
2018-10-31 08:54:16 -07:00
\n
2018-08-17 09:41:28 -07:00
2018-08-15 10:46:54 -07:00
2018-11-01 11:46:27 -07:00
2018-10-31 08:54:16 -07:00
2018-01-05 18:43:00 +11:00
2018-10-31 08:54:16 -07:00
2018-10-31 08:54:16 -07:00
2018-10-31 08:54:14 -07:00
2018-07-03 09:20:44 +02:00
2018-09-20 22:01:11 +02:00