Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2972982pxb; Tue, 13 Apr 2021 15:12:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwg5tyIiHiczJVBmgbSz+XURjZqPjBzCrWTW1RQ7CkACmCydfv/UuAC+GX5wjWJbaSijT4b X-Received: by 2002:a63:d552:: with SMTP id v18mr23414858pgi.313.1618351973812; Tue, 13 Apr 2021 15:12:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618351973; cv=none; d=google.com; s=arc-20160816; b=LOYWPZZZKfF6c+3WtGVelz7rcdLWHB0Yu6Gd+1iTStwiFQf7CmPdXeZjd6ZNNgtpIa PiZeShWw/+babwRFcLzkwaqYCNqvfKAC2i8OxXPUjQDhLr5N5nVaUwu8eLb1/zARW7Me 0e9sugcRLlQoz4zF7xsm6HSr6+BG8nblfvB7FhQKRV0Ram7Zse+nkmjAOyL9q/eyS4c+ p+WiC/iBqAL88ZyEAFCOsJWd2pgUgYOyoEGewb95qAH3v2QHKnLrrETIkWP3lHZ7CWK0 7aWovzh3wTckTSyT5eJMp4hf2pjnupc6lAjxaujEAUeqyoo9hL2HLaXLgRvQ9TE7LZG1 v/hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=ELHNXyJKc24kzc5VgmcyesQ750B538drv6uIdtvW1gk=; b=K50W0uwkoTcjGCsxYpwn4i0Wtkgm7hK21iEil+dFNEQApwhmtZW7KvBX3wJk5K4whd K95a+2DBjt+Z+lcrjdykFgAaWPVTeua+L7n0D9vJuRvIn4uLl9EVA+4WBoat0nI6jC2e 0nm2/IQe0CqmvZ1ATGq/wBcXP1ftltAL172rvLLLO9ViUGyadN9Z4o6l6b27C7XHAnQr BUSAeVDhhN30ejZkhCYwhBsRdJZgVg28PmvHHBfdCYywftQ3rYAdMFr+tf+LzQjDLy74 7SAMdZYmAcIb/gJ7gUiCmXlcPxYcNoBmB0NHYAQ3pC/OMQYnWA81nJvwZpHv3si0L56s m/Ww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q85si8516016pfc.91.2021.04.13.15.12.41; Tue, 13 Apr 2021 15:12:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347278AbhDMRnv (ORCPT + 99 others); Tue, 13 Apr 2021 13:43:51 -0400 Received: from smtprelay0201.hostedemail.com ([216.40.44.201]:54674 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1347275AbhDMRnu (ORCPT ); Tue, 13 Apr 2021 13:43:50 -0400 Received: from omf09.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 0065F100E7B46; Tue, 13 Apr 2021 17:43:27 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf09.hostedemail.com (Postfix) with ESMTPA id 87B871E04D8; Tue, 13 Apr 2021 17:43:25 +0000 (UTC) Message-ID: <84b4db0f2c82adbd82e2b93f5b1511730cb0678e.camel@perches.com> Subject: Re: [PATCH] staging: media: tegra-vde: Align line break to match with the open parenthesis in file trace.h From: Joe Perches To: Dwaipayan Ray , Thierry Reding Cc: Aline Santana Cordeiro , Andy Whitcroft , Lukas Bulwahn , Dmitry Osipenko , Mauro Carvalho Chehab , Greg Kroah-Hartman , Jonathan Hunter , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel , outreachy-kernel@googlegroups.com Date: Tue, 13 Apr 2021 10:43:24 -0700 In-Reply-To: References: <20210412222040.GA13659@focaruja> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.60 X-Stat-Signature: 9aydssrki5wx43zq6s8qzajxi8wuht6h X-Rspamd-Server: rspamout05 X-Rspamd-Queue-Id: 87B871E04D8 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1/QF9YzwubwiFOs9EBwe/ADGp4cP1fI5cc= X-HE-Tag: 1618335805-903163 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-04-13 at 21:35 +0530, Dwaipayan Ray wrote: > On Tue, Apr 13, 2021 at 8:59 PM Thierry Reding wrote: > > > > On Mon, Apr 12, 2021 at 07:20:40PM -0300, Aline Santana Cordeiro wrote: > > > Align line break to match with the open parenthesis. > > > Issue detected by checkpatch.pl. > > > It consequently solved a few end lines with a '(', > > > issue also detected by checkpatch.pl > > > > > > Signed-off-by: Aline Santana Cordeiro > > > --- > > > ?drivers/staging/media/tegra-vde/trace.h | 111 ++++++++++++++------------------ > > > ?1 file changed, 50 insertions(+), 61 deletions(-) > > > > Ugh... I'd say this is one case where checkpatch.pl really shouldn't be > > complaining since this isn't a function call or declaration. It's more > > like a code snippet written with macros, so I don't think the same rules > > should apply. > > > > Adding checkpatch folks (hence quoting in full): is there anything we > > can do about this without too much effort? Or should we just accept this > > the way it is? > > > > While it may be possible to add exceptions for trace headers on the > alignment rules, I don't know how many more such exceptions we will > end up adding. Such fine grained checks might be unnecessarily complex. > So I think we should just accept the way it is for now. > > Joe might have a different opinion? Tracing uses a different style. Maybe just suppress various messages for complete code blocks of DECLARE_EVENT_CLASS, DEFINE_EVENT, and TRACE_EVENT