From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07E8AC433B4 for ; Wed, 14 Apr 2021 14:35:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C7C82611F2 for ; Wed, 14 Apr 2021 14:35:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231814AbhDNOfk (ORCPT ); Wed, 14 Apr 2021 10:35:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231716AbhDNOfi (ORCPT ); Wed, 14 Apr 2021 10:35:38 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DB92C061574 for ; Wed, 14 Apr 2021 07:35:16 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id v13so1268439ilj.8 for ; Wed, 14 Apr 2021 07:35:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=2rbXicCAr8vD+feC/9JhEPaSLkL44d68CS0R7zJKVxY=; b=hEUjns1QGUe9hO2hoejJrRwZPEIjpifBEJDMGjE71lvLMG3wCP4ayf8yeetHwOrBLn SZFrt0tVnp6XeO2vmAN20wXb/LfZEFZH5t62jn/mYvVPBf55tw4UixdpuI4TjimH9QiW THDaF4uAun6+vww12gQSxvamWIYPqGhQzq4Ko= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2rbXicCAr8vD+feC/9JhEPaSLkL44d68CS0R7zJKVxY=; b=OWkdUNpJVvWP+Ub4y2+wxynQLlgNARBwkhTfmeNAqjyNkD93HsL+oTtBEgXrxghHA/ JxHZH8xMc5/w7l1sCRIfAiFDZ18OyrVK9raEnPYyGvb4epA4IgmH9K/LpY2kJOyfvdBa ESXlk/uV3s20AvOT7tKb9R/e6Ob2VuPjdqJRO1JQnLpFcvjOKau5UDyyRQrxkFoIvImP UO9LrMGYagW+NWcGTl4gFPGfDPj3GCYDCkcFdl899caIC3MVWhUVhe1HxNYCDqPOjNw6 hGZB8ZVkdjGw8zuU6277cQp5aSGjqXKczL+lbwYmPg1ag2W3fhWx3EZqSGy7FXUVo8ps nmzQ== X-Gm-Message-State: AOAM5309TgPYD+UVexr+ccvakFbas8FCMwXk0gAo4G+GXTz5sb5Bm28B rCaoxUzSleZFLj76LN0Mtd3ynQ== X-Google-Smtp-Source: ABdhPJxgAKwab2DYZQHYvNRaf7til72OiIr8070gbCI5ZDj1UeVcKG4GIweVUT0I9E7hmkBo64gmkw== X-Received: by 2002:a92:ab01:: with SMTP id v1mr29484106ilh.230.1618410915925; Wed, 14 Apr 2021 07:35:15 -0700 (PDT) Received: from [172.22.22.4] (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.googlemail.com with ESMTPSA id o6sm8257245ioa.21.2021.04.14.07.35.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Apr 2021 07:35:15 -0700 (PDT) Subject: Re: [PATCH] staging: greybus: Match parentheses alignment To: Joe Perches , Greg KH , Zhansaya Bagdauletkyzy Cc: johan@kernel.org, elder@kernel.org, greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com, Dwaipayan Ray References: <20210406124259.GA96537@zhans> <7d7be8bcc0e80d826083890ed7791070ad25e603.camel@perches.com> <1607b040-6bc4-9a58-ae81-4ea0adf5885d@ieee.org> From: Alex Elder Message-ID: <78c88472-9ed9-bade-407c-23bd557f19bb@ieee.org> Date: Wed, 14 Apr 2021 09:35:14 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/14/21 9:29 AM, Joe Perches wrote: > On Wed, 2021-04-14 at 08:17 -0500, Alex Elder wrote: >> Perhaps (like the -W options for GCC) there >> could be a way to specify in a Makefile which checkpatch >> messages are reported/not reported? I don't claim that's >> a good suggestion, but if I could optionally indicate >> somewhere that "two consecutive blank lines is OK for >> Greybus" (one example that comes to mind) I might do so. > > checkpatch already has --ignore= and --types= > for the various classes of messages it emits. > > see: $ ./scripts/checkpatch.pl --list-types --verbose > > Dwaipayan Ray (cc'd) is supposedly working on expanding > the verbose descriptions of each type. > That's awesome, I wasn't aware of that. Any suggestions on a standardized way to say "in this subtree, please provide these arguments to checkpatch.pl"? I can probably stick it in a README file or something, but is there an existing best practice? Thanks. -Alex