Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2004407imm; Tue, 10 Jul 2018 11:25:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcLIJAE7TmeDUNrE1V74FTneFRWdCBuyHMFOinKW3sSNb9Ez4zci91PhLy1YbDiNPYC95fV X-Received: by 2002:a62:1157:: with SMTP id z84-v6mr27041975pfi.66.1531247159514; Tue, 10 Jul 2018 11:25:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531247159; cv=none; d=google.com; s=arc-20160816; b=04vbtqrzJLFFPjZs6TWvpIQzA+dWccZjTHcDX9V2XEZc53jgsBV0Aj/URZWgc9gJwt m0SFdNXHnEf+LW/W8tXT6ELQtNjmNK758H7iu/3v9hKHROxJWtWf269jTUjTj+mD2EVt D7UBQkLXwWpf9VMZHAv3IuMtejleqBMnyeI9KiFQXG81IvPfT5ofQzs6JyTcwd1wkon/ StZivCv8wnYbBrLCDt8rgHN7kkMhY09SR1+A+bvPgUJl+rioG7i9yi595SjBoWHYetb9 7K/VwqOPE3gMPKPm+2V4UjnVN3WEqgTiaRZ7+Jp1YXcnu8rceqYnS68nuku2pS4mNWwL S/YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=73YtX32FsCfuzIWCHBzAyXGvq/3vRuWEaOm63R6x6YA=; b=HXD9RAwiTTqU+LjnsWMduygbQUHnqTEtrlksdMjQKEcbs6H6ROqyPDj/9mnNJZ99+e mGv7q3WTjq724UyFMXquJPfRA58t9ceP1Xn5yg/+89OVnZIzTMa6HPGgNvGfI9RksR9C 9kMu870fVIHKUIfpbvv5vLHpvLku6nAA2forquUNr1p1eGU3ZqP4Bl1jokWOs7NOBekd 8Yg9zapIgwWc44/PgSKeN6/5ZRE7buXaaQwYDGA2zgyhPeEPHKz+ASYP6zFhf54V1arf nSW2maisDJExL++bS2ue91d1mvORzVfboLzYHzLxuS15xpL3XbcAULgENkUMwbZZyDc3 q7AA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11-v6si16920543plr.316.2018.07.10.11.25.44; Tue, 10 Jul 2018 11:25:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732474AbeGJSZI (ORCPT + 99 others); Tue, 10 Jul 2018 14:25:08 -0400 Received: from smtprelay0172.hostedemail.com ([216.40.44.172]:49296 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732266AbeGJSZI (ORCPT ); Tue, 10 Jul 2018 14:25:08 -0400 Received: from smtprelay.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by smtpgrave08.hostedemail.com (Postfix) with ESMTP id 6EC1318021E36 for ; Tue, 10 Jul 2018 17:46:19 +0000 (UTC) Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 44128127F; Tue, 10 Jul 2018 17:46:19 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::,RULES_HIT:41:355:379:541:599:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1568:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3622:3865:3866:3867:3868:3871:3872:4321:5007:10004:10400:10848:11232:11658:11914:12740:12760:12895:13069:13311:13357:13439:14040:14659:21060:21080:21627:30054:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:27,LUA_SUMMARY:none X-HE-Tag: coach07_7137644752d4c X-Filterd-Recvd-Size: 1326 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf05.hostedemail.com (Postfix) with ESMTPA; Tue, 10 Jul 2018 17:46:17 +0000 (UTC) Message-ID: <5f85df9e26a3ca19e5a6b65a0d8df194581ab29c.camel@perches.com> Subject: Re: [PATCH] checkpatch: Handle long multi-line macros better From: Joe Perches To: Prakruthi Deepak Heragu , apw@canonical.com Cc: linux-kernel@vger.kernel.org, tsoni@codeaurora.org, ckadabi@codeaurora.org, bryanh@codeaurora.org Date: Tue, 10 Jul 2018 10:46:16 -0700 In-Reply-To: <1531244524-16003-1-git-send-email-pheragu@codeaurora.org> References: <1531244524-16003-1-git-send-email-pheragu@codeaurora.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-07-10 at 10:42 -0700, Prakruthi Deepak Heragu wrote: > Currently, the checkpatch throws an error on long macro expressions which > is more than one line i.e the opening and the closing bracket pair not > being on the same line. This patch gives the dangling backslash the > benefit of doubt and allows it to consider the closing paranthesis on the > next line as part of the macro expression and doesn't throw an error. Example please.