From: Joe Perches <joe@perches.com>
To: Christian Marangi <ansuelsmth@gmail.com>
Cc: Andy Whitcroft <apw@canonical.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] checkpatch: report warning with files ending with blank lines
Date: Wed, 07 Oct 2026 11:48:23 -0700 [thread overview]
Message-ID: <4e3b6c53200cbd5acdcc2ed4410bcf27df247474.camel@perches.com> (raw)
In-Reply-To: <6ac6900c.57ea3510.27c6b6.f79d@mx.google.com>
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.
next prev parent reply other threads:[~2026-10-07 18:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 12:28 Christian Marangi
2026-10-07 16:49 ` Joe Perches
2026-10-07 16:52 ` Christian Marangi
2026-10-07 17:50 ` Joe Perches
2026-10-07 17:54 ` Christian Marangi
2026-10-07 18:30 ` Joe Perches
2026-10-07 18:31 ` Christian Marangi
2026-10-07 18:48 ` Joe Perches [this message]
2026-10-07 18:50 ` Christian Marangi (Ansuel)
2026-10-07 17:58 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4e3b6c53200cbd5acdcc2ed4410bcf27df247474.camel@perches.com \
--to=joe@perches.com \
--cc=ansuelsmth@gmail.com \
--cc=apw@canonical.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®