Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2045477rdg; Sun, 15 Oct 2023 08:38:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEmfoSlxMXzg/xlW93dI5uDzw+Ss895VSmCAAQ+bzreMQBb9MuQBsXLtFIJ7fnvySn+4Lp1 X-Received: by 2002:a05:6a00:8c7:b0:68b:e710:ee9c with SMTP id s7-20020a056a0008c700b0068be710ee9cmr37018557pfu.19.1697384339570; Sun, 15 Oct 2023 08:38:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697384339; cv=none; d=google.com; s=arc-20160816; b=UT7AvZlI5E8k9/h0X7ydYhwPDCda+vciaLEi63O7agBrmbmXNpClwD8j2JvN/rJ63i i7bOKqK7B7207DBAPhl1b0GYefwBSKy9R4ETLUIH6uGRvKZaHZz5fH9uDcG5/n+uRwOH bKUgxx6gGsW78axRurQCvgMRhJMZY85qYilgaVf+VmEC1g4zsUGBsr+GY6nMyfxM3sRu dC6xCtamhXB7vvK2rS6lsB/FGali91+X5yIo/qLnyJXE4WHygEW0kZda3DdM8rDiukuo BqE3Y9Weh6wcAXvtQi7sVKFcygcEezFuCe2NlgXOQVzQDGA4V16uAFmsGPOghNhyDbth mE9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=LhxJfPnQdDLA1pwf55OjKcjy9RE5WkjM3OkEMcxoyfg=; fh=fbEV8UOMopAlAVF4XYIbK1w1HgoFZ6E8AaHVrNkkxWg=; b=LxxE2gSRlMScJALsKOSjZ8MtwM0cAF9qmu9fFkooid3rCU08caFA7kisjpJNATojcu Waav7bgV4oGto/70SO1B493ve21w8Uqh1v6vrfcVdKaHW8ret7O0nnYslY+6Th7kITl7 LF9z8l2PJ/ZIlRDsCzOFhh1RlxWVNvbrq9fbE6SwipLgV2eL78RlZDid95YHa9VEjUUx 7FQA5J9jFo4Cmi3NcKaHOfykGiIjBRSKolwmnZ9wUbma8Q0mplmyRxTRP21DNc+MJEur 8KMgqjFFnEmRD31uFhytMDhUSzx6pY/Mg7pQyhy+YrO3ZCcqS/fNIvJrhPJo1MFqjYh2 Hdfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=VtXvNYIf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id i3-20020a639d03000000b005aee0914b6csi4366962pgd.8.2023.10.15.08.38.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 08:38:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=VtXvNYIf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 54FFF8057E5A; Sun, 15 Oct 2023 08:38:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229649AbjJOPim (ORCPT + 99 others); Sun, 15 Oct 2023 11:38:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjJOPil (ORCPT ); Sun, 15 Oct 2023 11:38:41 -0400 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11CFCAB for ; Sun, 15 Oct 2023 08:38:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=LhxJfPnQdDLA1pwf55OjKcjy9RE5WkjM3OkEMcxoyfg=; b=VtXvNYIfchdFqk9ttxMwFA7AHY4rmL3jhvMH9vGZm8gxZeDB5Q57UxYA QBACfbHbW0wWWWXwMS3ErE7TvUtLh8fYw/DH0qrqL4Mu9hbDULUOl5Lli SBTBSxaDAuVWgUVXvlJMF96+xx8HrXG8JkBAFWQVVi/gIQf71QtWydZjo A=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=julia.lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.03,226,1694728800"; d="scan'208";a="68757064" Received: from unknown (HELO hadrien) ([87.129.180.234]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2023 17:38:35 +0200 Date: Sun, 15 Oct 2023 17:38:03 +0200 (CEST) From: Julia Lawall To: Andi Shyti cc: Gilbert Adikankwu , gregkh@linuxfoundation.org, outreachy@lists.linux.dev, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] staging: rtl8192u: Align descendant arguments In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 15 Oct 2023 08:38:57 -0700 (PDT) On Sun, 15 Oct 2023, Andi Shyti wrote: > Hi Gilbert, > > On Sun, Oct 15, 2023 at 09:22:58AM +0100, Gilbert Adikankwu wrote: > > Adhere to Linux kernel coding style. > > > > "...A very commonly used style is to align descendants to a function > > open parenthesis" - (Excerpted from Linux kernel coding style (#2)) > > > > Reported by checkpatch: > > > > CHECK: Alignment should match open parenthesis > > > > Signed-off-by: Gilbert Adikankwu > > I don't like this commit message. Although it's correctly > written, I think it can be improved in order to be more > immediately understandable. > > Write what you did in imperative form: > > "Adhere to Linux kernel coding style" doesn't mean much, you can > write > > Align descendant argument to the open parenthesis as per the > "Linux kernel coding style" in > Documentation/process/coding-style.rst. > > Yuo tell immediately what you did and where to find the > reference. Citing the document in the commit log, in this case, > looks to me like an unnecessary information. > > Copy pasting the output of the error is a very good practice and > you can write it as: > > Mute the following checkpatch error: > > CHECK: Alignment should match open parenthesis In this case, it seems fine, but some of the checkpatch messages are a bit verbose, and anyway the specific fix is a bit different than the checkpatch message, so you can use your judgement about this. julia > > > --- > > v2: In the first patch I changed my commit title in the > > email and sent it before amending it in my git tree which then changed > > its SHA ID. I felt it might cause an issue so that is why I did a v2 > > of the patch. > > It's not an issue, you can do that. > > But I'm going to give you another piece of advice that I already > gave in this list. Do not send patches between versions too fast. > Reviewers need some time to review... wait some time before > sending the v2, so that the v1 gets enough visibility. Sometimes > reviewers correct each other, but they need time to read the > e-mails. > > This way you would also avoid unnecessary noise. > > Andi > >