Re: [PATCH] checkpatch: Flag spam header (X-Spam-Report) to prevent spurious warnings

From: Joe Perches
Date: Thu Mar 23 2017 - 04:36:38 EST


On Wed, 2017-03-22 at 23:01 -0700, Darren Hart wrote:
> I still haven't figured out why we test for this specific set of patterns. Why
> is a line that starts with a space and ends with a newline considered still
> in_header_lines. Or more specifically, why aren't we just testing for an empty
> line (RFC 5322 Section 2.1, defining the separation of headers and the body).

Because of the From: and commit: lines sometimes used to describe
patches sent on behalf of others.