Re: [PATCH v2] checkpatch: report warning with files ending with blank lines
From: Joe Perches
Date: Wed Oct 07 2026 - 14:48:51 EST
On Wed, 2026-10-07 at 20:31 +0200, Christian Marangi wrote:
> > > It's to catch situation like this. Example for entire new file or adding
> > > stuff at the end of a file, where a new line is introduced.
> > >
> > > git am will complain about this.
> >
> > It seems there's something odd about the patch content
> > as there aren't any context lines after the addition.
> >
> > How was it generated ?
>
> It was just an example, it's not the full patch. Just the last patch.
Send more correct examples.