Re: [PATCH v2] checkpatch: report warning with files ending with blank lines

From: Joe Perches

Date: Wed Oct 07 2026 - 13:58:55 EST


On Wed, 2026-10-07 at 18:52 +0200, Christian Marangi wrote:
> Yes I also was with that idea but then I quickly figure it out that we are
> not testing if the .patch have blank line at EOF. But if the single file of
> the patch have blank line at EOF.

A long time ago:

https://lore.kernel.org/lkml/b5e2a4d9eb49290d6dc3449c90cdf07797b1aba6.camel@xxxxxxxxxxx/