Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1960691rwi; Tue, 1 Nov 2022 01:59:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ElKg3Utg2tLOExmnnYyVNQS1KaIAXoFXCAK0GFSUvgkQsAHX6OH8dnGca776Gfzny6aW9 X-Received: by 2002:a05:6402:2202:b0:461:8143:1177 with SMTP id cq2-20020a056402220200b0046181431177mr18101982edb.210.1667293143979; Tue, 01 Nov 2022 01:59:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667293143; cv=none; d=google.com; s=arc-20160816; b=E7tuwGzi9JmxV8UyiwATYTpMtzbznQfy67qBTEZ2TPuvRp8Pi8Y3jeZsbG74RmFk06 4kJdacBHORYnUtqf3QvX8CWN7HqEoup/W6YDodRpHTwf5QNP2u2aTPVTk2EStL6J2/eI naHa0lVH0SXiaTKA8dfW/6Fv47eq4ntg0g4Lg4x8TAsuwKlnqHNssGlGUWwi6r7jnmak SCvudwG+mL0Ns3FGCSYayawBeu5HTIMNZ4M1ei316feTQ8AYoJVL6BRTHEMoQnTIknN3 hebi17On4O2mGzwe4LJtYjAJcuYajBWK16cRK9VDGf4bKzDmUfntq8G6TARm/Ys2jxk3 lFxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=Od/uiMYSX3xApsTiRyOIA9wZRUzo3nbEDUya5/r31Rg=; b=SIMv+oG5c+99A/O97ngRGvKM5EwjspbuGhQ8iaYm8nglWKWqv8oY5/gS2UlDUfZAPL OaKu9qw3cwhACGp2CGtRb15RjtAFCGRozQ5jx1klcWEnKMLOVptcWUP1lAsFK1ZhqIAv bgUeMMhc/1X5G/JKfvaprM0c0VXk0jLLWaMaRi+tLGO+R31M+8hpubfAIGEeQJ3DoBzn ZxvVS2s/RHSkzW3LB9yQdazrUWTf2FegYwb/fT6vvKD9HJ7PouKe/cVZmafFBqG7Wz7p hUlB0RIcBpnmg+R+nHM2v9oNsrEVW1PEWNYv/UQ/9aG0gY1hzEhdBTMqM5ikrTDpbpCI 4KyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=eMffM7Tb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js7-20020a17090797c700b007adbeb3798asi10645000ejc.482.2022.11.01.01.58.39; Tue, 01 Nov 2022 01:59:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=eMffM7Tb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230060AbiKAIj6 (ORCPT + 98 others); Tue, 1 Nov 2022 04:39:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbiKAIj4 (ORCPT ); Tue, 1 Nov 2022 04:39:56 -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 14CF214029 for ; Tue, 1 Nov 2022 01:39:54 -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=Od/uiMYSX3xApsTiRyOIA9wZRUzo3nbEDUya5/r31Rg=; b=eMffM7TbSdYwhftrA1QNx0mKcRQwJeBhb1bEDqGZyW9oDHCqklF7SEWS 3aWqE2eeqFXdVBAMZGrpRM1JMVmpUWyyayIMPTB54OW381SZpmxrq4Y7Z bVbWgZqaxRtdgYHWe15pBlxDpoF++slB0mvZq9PNfzJKDP/cHgh0IV77n Y=; 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="5.95,230,1661810400"; d="scan'208";a="36158278" Received: from 51.123.68.85.rev.sfr.net (HELO hadrien) ([85.68.123.51]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2022 09:39:54 +0100 Date: Tue, 1 Nov 2022 09:39:52 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: UMWARI JOVIAL cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: Re: [RESEND PATCH v2] staging: most: dim2: hal: aligning function parameters In-Reply-To: <20221101080006.GA63438@rdm> Message-ID: References: <20221101080006.GA63438@rdm> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 1 Nov 2022, UMWARI JOVIAL wrote: > According to Linux Kernel Coding Style, lines should not end with a '(' > Fix-issue reported by checkpatch.pl script. How about something like "To improve readability, start the list of function parameters on the same line as the function name. Issue reported by checkpatch." That would more clearly explain the intent behind the change. julia > > Signed-off-by: UMWARI JOVIAL > --- > > Changes in v2: > 1.Resending this patch because it was sent multiple times earlier.No > functional changes. > > drivers/staging/most/dim2/hal.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/staging/most/dim2/hal.c b/drivers/staging/most/dim2/hal.c > index a5d40b5b138a..6abe3ab2b2cf 100644 > --- a/drivers/staging/most/dim2/hal.c > +++ b/drivers/staging/most/dim2/hal.c > @@ -346,9 +346,8 @@ static void dim2_clear_ctram(void) > dim2_clear_ctr(ctr_addr); > } > > -static void dim2_configure_channel( > - u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address, u16 hw_buffer_size, > - u16 packet_length) > +static void dim2_configure_channel(u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address, > + u16 hw_buffer_size, u16 packet_length) > { > dim2_configure_cdt(ch_addr, dbr_address, hw_buffer_size, packet_length); > dim2_configure_cat(MLB_CAT, ch_addr, type, is_tx ? 1 : 0); > -- > 2.25.1 > > >