From patchwork Wed Oct 26 11:06:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: UMWARI JOVIAL X-Patchwork-Id: 11196 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp194912wru; Wed, 26 Oct 2022 04:07:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7O4Axq4/tqilq/MnnCrGqwVwjVHCoMxB6+KzvMiCpOpWFnLmuCdZfk+FJWEHz54XQJLzBl X-Received: by 2002:aa7:9298:0:b0:56b:b6dc:988a with SMTP id j24-20020aa79298000000b0056bb6dc988amr17531257pfa.5.1666782471751; Wed, 26 Oct 2022 04:07:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666782471; cv=none; d=google.com; s=arc-20160816; b=G+pnAmWt9sve8vbR02J2kU/9q4TAGx0hxirSoQe0QkbXvS1XE/KEzBPTWyyW8mvOp9 vSOfDeLj1Grs+lXT5sFZ61Ebq2JxCTZpDrobsbQxQkBvNtrvUAc8CoWti0Xcu/S3Nkku gHgV9f5JQ2Qjvk974BndU+YdEcnPFoQfb6Aki8mDgJdSURe2IamrBGr5mcww6J5MWL3s Q1mwqBF1XcIOnPvOV+M6eTc4TBsJaZI31n+cPKwM62Jw6oa2XXO8v0rRAmw0QE6zLg3q IsFIuverhvFpYk4gCRCWWRwxCj3ie2UsAtVApbd8Whsb4/o4bcKiQ6o9P3zh7otDylZT VIGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=f8fw059w/DKGSzGISpKiD55jlFKGFxUmcqcrxLcKoWk=; b=JDOub5EipjHaV68S3wS/rJe56AelYlovClHLK4n3w6+bVv6vLBEAvyBkh425kktwkI TWqCMawGnNFvpacOQUkKFAPCj3SSWI8m/1IIDDl/tkILj0VnMPHGebS/VGlusiKEnFHz SfoumzNWGctPccMBwHterEmja+7Dz7yowjcCnx7CzXl+l8f7q7WwY0gjCpgNHY1uZiQk yQdv60XkxWE1Fvk7be7kk4UQEvDGuSze5AaymhMLGs7SufEDNiC250fJLQKvJ7bH7ZHK W1TDJiKlyhlIAVLoGb2g5BJ5Mn67qy9Tw+xbACS15xP0nTf6pd0PTdn90ghlFqIBJk01 0Rmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L5rHIBQ3; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a17090ad68100b00212e70e2c25si1995705pju.165.2022.10.26.04.07.39; Wed, 26 Oct 2022 04:07:51 -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=@gmail.com header.s=20210112 header.b=L5rHIBQ3; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233088AbiJZLGe (ORCPT + 99 others); Wed, 26 Oct 2022 07:06:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232906AbiJZLGc (ORCPT ); Wed, 26 Oct 2022 07:06:32 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA243C4591 for ; Wed, 26 Oct 2022 04:06:31 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id k8so17057623wrh.1 for ; Wed, 26 Oct 2022 04:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=f8fw059w/DKGSzGISpKiD55jlFKGFxUmcqcrxLcKoWk=; b=L5rHIBQ3/dPpSeWOe9aN4GAPujJGcy+UIpAjXeVt+wCcGjILATyaGSYM5c7NpfVYIz KLhqOwdpJiJv5/Ys8yn+8p6C+KA2rTVjT8W3/FL+NuGNRk2X5mc4AX8cYrSvPbpGAqIY xnFClyAhyW97mvY2bgfoKJFCwzasqIEmLIOzHCDCQx8sULd7DYFgKb6qG5x32IaHMYOn O5fOhl6/7fTjnb/JMuRtIqWoXlemHQ2SaQE3ou0Em+YJTKPj01HxZKpSckHFoL8xWz+3 p2JRuEeT1PYkK3lm5CDTjWN2WI1EsOeFBUjuPP/t8SMops1975KMa8eo+bp/uxnYyQAn Gwew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=f8fw059w/DKGSzGISpKiD55jlFKGFxUmcqcrxLcKoWk=; b=L718un5K8s3aVS3nXCpGEGAEgNS5Kg/6IRnkKLBhOsOeEfcHYV3qGqiZU+HztJ80cd pBaAcXgvWQjTSKLmvyusfEsLgtkzXTva2kf+7MmqBRvwFlWHs2G5up6dskw5bSxwl+fh LFP/7hl0RsQuCmKo+rVdpr/TZ2fJaijFG1BB9imHVo64wjioe7SUWQwrZsNFTF8qlhSp YRBe3h4Z/WGnUSjM4U5mPbeNQVk6MXvaFHh5qIs9PJk5yatUkkWSnfQu9LGmso/ZZDMl xiRhSjMxyfhSUCs5iZ6hd2WYlYO6uNfvxFFzx0oalg1adEyI4bKx1RhWjFu9eVMIIeRn pDhw== X-Gm-Message-State: ACrzQf3EBvCt6qlCIeeYHGMim0i3bTqq2rRlHUlgdg0T1OTafbVTjJql NKr6io7a/TVnCpJ3cwhQ2V9fYtv21c5J5ucU X-Received: by 2002:a05:6000:1ace:b0:22f:7201:74c0 with SMTP id i14-20020a0560001ace00b0022f720174c0mr28767128wry.216.1666782380391; Wed, 26 Oct 2022 04:06:20 -0700 (PDT) Received: from rdm ([41.75.188.129]) by smtp.gmail.com with ESMTPSA id h14-20020a5d688e000000b0023660f6cecfsm4867344wru.80.2022.10.26.04.06.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 04:06:20 -0700 (PDT) Date: Wed, 26 Oct 2022 14:06:07 +0300 From: UMWARI JOVIAL To: gregkh@linuxfoundation.org, outreachy@lists.linux.dev, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH] staging: most: dim2: hal: aligning function parameters Message-ID: <20221026110607.GA37960@rdm> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747747828404652851?= X-GMAIL-MSGID: =?utf-8?q?1747748097092081369?= According to Linux Kernel Coding Style, lines should not end with a '(' Fix-issue reported by checkpatch.pl script. Signed-off-by: UMWARI JOVIAL --- 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);