Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp675249rwi; Thu, 20 Oct 2022 04:01:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ypkpARqyTANTtpD1Q+djJ/ZckjpxVzMZHkXQSAbti2ftFR6PtWTSqIA0tsY0c64RYZQoU X-Received: by 2002:a17:907:2672:b0:734:a952:439a with SMTP id ci18-20020a170907267200b00734a952439amr9766519ejc.539.1666263694259; Thu, 20 Oct 2022 04:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666263694; cv=none; d=google.com; s=arc-20160816; b=zCiKgIsX44AfWWeKfkXpdcVjBbbKdz/zeUvh8KSQQDyLWKAw0RW0qkXi/Dd1zMPslB no1yQJ19RNtQkhhrJkxH4cCBGad34BQlRM3W7VdkIaZ/wQeUPL0sH+F5WS34UqsFuatI jgp2qbFinIA3x2DVOkUG92oHjUbt8N7aABr3ekDJjVmmTTwFbGzmbSZZcRfB3so6sACI ZqhPK7tdZL3fSveuinh73ajuUuuxvMKFWcLiCN1F6gYsDudGesVn1r/AH8z1iSAFDpDm PoFnufMrt+TYOu+zEaIgFKZb3XRWr/DBTLGoGYiob3mNI+fZhNuONy6wdQmkK7GT15Kc uxkA== 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=tEmNh4R0QJOPxLimqEC/Xs1kq2UBfm/vuBxLtj1a2rk=; b=03urUR2Et+A0bSzcAYK9kBlGi4q28xFHgCLBJNZGwzt0K/We4qW9JPYFfWCcz8T7DW qktOBzN6xCQNqx8DU53FaxkIaWBLyvsaFgUPZinDmlqvY28aIlIBn2KZdvea6fsE3ErH CErXW5+1k0BI09TBtW5RAh0Q4uNijSIIk5YtrJKt727sOlYj/c+E9hFyJhy56w7HItEG n0Iv9xjB4xXD1ZOudHMEeT8U09qATuvSNRTVOWk2VS2/SA4ufLcJGfWXs4j6gwgZQHOp Zvam+aBQDeGYpq2nMaKN9JSLCvX50mp76PrAy/hHN+wdDWCt7ovuw3ngGPASdiPWaNMB yipA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FzDOPEbc; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd17-20020a1709069b9100b0077cfec3a52fsi18400714ejc.839.2022.10.20.04.01.07; Thu, 20 Oct 2022 04:01:34 -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=FzDOPEbc; 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 S230452AbiJTK4n (ORCPT + 99 others); Thu, 20 Oct 2022 06:56:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229773AbiJTK4i (ORCPT ); Thu, 20 Oct 2022 06:56:38 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10F8B1DF42F for ; Thu, 20 Oct 2022 03:56:36 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id p8so6683588lfu.11 for ; Thu, 20 Oct 2022 03:56:36 -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=tEmNh4R0QJOPxLimqEC/Xs1kq2UBfm/vuBxLtj1a2rk=; b=FzDOPEbcl6MLFkqFsxogyoko0ePdQin24WYBfDNjGcQIJ8Y+uGJKaxHeCIbKQ8epTL is3Kr8df9p/UKPWbCQIpA2JJCZGs5owrfOmU0zXIlqoSQvwxWtcK49S6ghZU/BETxSgE xK9i3Hmf2flYAtoy9JkR3o0mTTYiK30gONRIV1FaUhNeS9Jt2ZD3ErCbww23P52W2ZwJ VysRHseEJaGUmdOszO+C3G6lK0dLYerwbH3ara1+TNqIcOYdT8oxnDQeqyGMJM7sCqvS pvSPEQlMzqIxu2usXj4Z4iyPrRnC0tVuuwStUK3EzM+zZwco3NllNe4EOQs+Yl+YnwII S6/A== 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=tEmNh4R0QJOPxLimqEC/Xs1kq2UBfm/vuBxLtj1a2rk=; b=3KBZ9RIRi7hbGwUkBLWBP3RvkCtxBwt5Kz9eNfBr++bHIBrFOmKfL51Fce5oVrluhT Ec04OYijEB1gc4qPpRKilwJ0yapmun2gpsFxsGrNGCgZKtXDmIkWd07ZRo2ZPL0vYdVV /ZUHMm6ebW2k1L36iD4F0NecQmnyJgk3lcE7bLVsfoVUNnbOTngWItBxjnNfkXdIMiux JqZQb2Vh3OTsmchLaal71uLD/nHpa6lxzsyEzDgIZzNZK7yB/Pm2vTaUYbWHcStGLjdZ 54a8UIkL2Sp/AYzFrG8W2YXJgpxRh4m/7RNZDigNiu3BcpWRnnIDjcCkhUqtSM2rBL5f J/9w== X-Gm-Message-State: ACrzQf2hNVHGpzlJN58B7i14kiRHIHUWiUbsj7f3pLE1ulfxS1Dai0ig v6XXrVA2oVLOvP4rqtQ6qLsE51oHbipiKkFC X-Received: by 2002:ac2:47fc:0:b0:4a2:4e9a:64f5 with SMTP id b28-20020ac247fc000000b004a24e9a64f5mr4803257lfp.434.1666263394979; Thu, 20 Oct 2022 03:56:34 -0700 (PDT) Received: from elroy-temp-vm ([20.240.130.248]) by smtp.gmail.com with ESMTPSA id bf38-20020a2eaa26000000b0026fdecfa6ebsm2447081ljb.15.2022.10.20.03.56.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 03:56:34 -0700 (PDT) Date: Thu, 20 Oct 2022 10:56:33 +0000 From: Tanjuate Brunostar To: outreachy@lists.linux.dev, greg@kroah.com, forest@alittletooquiet.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v3] staging: vt6655: Fix Lines should not end with a '(' Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 Code style warnings reported by checkpatch. Improve the layout of a function header: Put the first parameter immediately after the '(' and align the other parameters underneath it. Signed-off-by: Tanjuate Brunostar --- v2: put static and void on the same line and adjusted the indentation as suggested by Greg KH --- drivers/staging/vt6655/rxtx.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 5bdb5176772c..d987f7dff02a 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -85,10 +85,8 @@ static const unsigned short wFB_Opt1[2][5] = { #define DATADUR_A_F1 13 /*--------------------- Static Functions --------------------------*/ -static -void -s_vFillRTSHead( - struct vnt_private *pDevice, +static void +s_vFillRTSHead(struct vnt_private *pDevice, unsigned char byPktType, void *pvRTS, unsigned int cbFrameLength, @@ -96,13 +94,10 @@ s_vFillRTSHead( bool bDisCRC, struct ieee80211_hdr *hdr, unsigned short wCurrentRate, - unsigned char byFBOption -); + unsigned char byFBOption); -static -void -s_vGenerateTxParameter( - struct vnt_private *pDevice, +static void +s_vGenerateTxParameter(struct vnt_private *pDevice, unsigned char byPktType, struct vnt_tx_fifo_head *, void *pvRrvTime, @@ -112,8 +107,7 @@ s_vGenerateTxParameter( bool bNeedACK, unsigned int uDMAIdx, void *psEthHeader, - unsigned short wCurrentRate -); + unsigned short wCurrentRate); static unsigned int s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType, -- 2.34.1