Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754122AbdCWIgg (ORCPT ); Thu, 23 Mar 2017 04:36:36 -0400 Received: from smtprelay0039.hostedemail.com ([216.40.44.39]:49210 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751440AbdCWIgf (ORCPT ); Thu, 23 Mar 2017 04:36:35 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 20,1.5,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1538:1593:1594:1711:1714:1730:1747:1777:1792:2317:2393:2559:2562:2828:3138:3139:3140:3141:3142:3350:3622:3865:3866:3867:3868:3871:3874:4321:5007:6119:7576:7653:7903:10004:10400:10848:11026:11232:11658:11914:12530:12679:12740:12760:12895:13069:13255:13311:13357:13439:14659:21080:30054:30056:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: time40_28deaa18d6654 X-Filterd-Recvd-Size: 1555 Message-ID: <1490249276.2041.19.camel@perches.com> Subject: Re: [PATCH] checkpatch: Flag spam header (X-Spam-Report) to prevent spurious warnings From: Joe Perches To: Darren Hart Cc: "John 'Warthog9' Hawley (VMware)" , linux-kernel@vger.kernel.org, Andy Whitcroft Date: Wed, 22 Mar 2017 23:07:56 -0700 In-Reply-To: <20170323060133.GD17578@localhost.localdomain> References: <1490113805-9295-1-git-send-email-warthog9@eaglescrag.net> <1490121068.2041.13.camel@perches.com> <20170322152539.GA11892@localhost.localdomain> <1490206653.2041.17.camel@perches.com> <20170323060133.GD17578@localhost.localdomain> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.3-0ubuntu0.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 475 Lines: 8 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.