From patchwork Wed Oct 19 16:05:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanjuate Brunostar X-Patchwork-Id: 5733 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp412387wrs; Wed, 19 Oct 2022 09:15:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7+THYLQI3DaJe4P/P9QL6MfpULn0q4v15sUg21ZaRe/nZWJccJyjVRIKAN8OOVrJZBmrXa X-Received: by 2002:a63:881:0:b0:43a:c80a:bea4 with SMTP id 123-20020a630881000000b0043ac80abea4mr7914825pgi.329.1666196141240; Wed, 19 Oct 2022 09:15:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666196141; cv=none; d=google.com; s=arc-20160816; b=KyjOM3RxPagNjYUTF0hqgg/0QQCBMKMWWtDgJbraPOd023o0wdwrSyI/rC0B0SFBww 9ixr4TP1AcJVQbSHbXukcPW+j5BA89rbRBHTtwtecW271KbBYsUESJcNyOTOKNDMpI0n FdbxG4cjvH6lCDVhqeA/nDGhMyosqoLNvOGhYmzpDlk5Lde9ApqYkSg3VvrcpBUILTuz UEyDWRXqDkxSaZV3gjK7G2QRMpwQtkzC+/0zZ9xpithS1p/9JsTJBIDAXnMwXOJgnwvB EsSkkmvZBjRx4NaipO7T78dtpYzcpWzYs6x+lGF8M3AUIdwZ6hIHIFYFAJtoUdANqMI+ zaBA== 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=2YCDHsYWcIY96mUtSqodHKe31qpMLaWDuKz478pSr00=; b=CQhUzL2OWUgh76tNgjAv+WjQ27tUm/DoaVkTYUGRpTi6WTSAfU1N5xXkDKgaBoyMu7 eJrz4I18CrFWhJK7sVPYPBMAZGiqxPYFhnVHyOcSwx0YZIgve1K4vuT2L+5p4bQmJNMa hlfXd74juS9+yC38p6B8ZpS1WSsiw++29MjVTj2ftM729JoVHYt/sY5zqmGirnJyiuhf p81aVKMP2VBuOpeFuM9FL+pdKQWbfvcpPXquNQTHdi2Z3cq+svP1BBGnCFJJMtUStTAJ KO9eONPm9JIUkQbYokXhRJzQj7DOEit1XtYVYAp6TfsH6eGK/tGrbAO0mQewY/QDMfWR X9zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KHhsVmAm; 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 f23-20020aa782d7000000b005251aec9b1esi16587609pfn.225.2022.10.19.09.15.27; Wed, 19 Oct 2022 09:15:41 -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=KHhsVmAm; 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 S232008AbiJSQGv (ORCPT + 99 others); Wed, 19 Oct 2022 12:06:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231994AbiJSQGb (ORCPT ); Wed, 19 Oct 2022 12:06:31 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 084E5150F8C for ; Wed, 19 Oct 2022 09:05:09 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id r22so22767851ljn.10 for ; Wed, 19 Oct 2022 09:05:09 -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=2YCDHsYWcIY96mUtSqodHKe31qpMLaWDuKz478pSr00=; b=KHhsVmAmNGZintp/YIDAd4pSn0E5e4hSFuGvoY3fG+1VV7PhE59oWENJD8FG30TEEr 0ilGqC28Ik/psjVonwjvg6NUDSasG8ZN0rYkQepcXQrRdA1IfXqweE6Oc9Z7ZlD2s4WS XNZUohjsBfohMb9ulzAdIq+6ukXKwPMby4m5bpGY43zRnf7RSCvK3lrX4U3Gcj+2I2bw V+heCQ3Huv6aFh6iRdVogsawozkdU0dKgJh9KhUgVsoLAr5P0oO7CzHtUiMS8aT7NDmR 5GSfkUadveG1N/RNPalqsJPUwO9rI4cetSRu7q+suD6YvwYLCPSRdlxEjkmEda/Tl2ZG IRBA== 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=2YCDHsYWcIY96mUtSqodHKe31qpMLaWDuKz478pSr00=; b=yFPMT4AoPw04EW1NX6VY8K3Yn+uzHHBaJivms9TVjJ4CTQL6HfeyK2BULtcJihnrUQ k81hQL1ofdUxbD+WSGmEogHSRSPMVXi1yweU2g7pbGsmq6I/CoY7GjWwVx+dfVuSSSmH lQyZ8I1jdnDd0shF5VPJ8pGrXSJDBFgw92Kmct7rV8Lf6WnOvlP1l9QOoAZTiUgxQN+W 48wKgqk5VJXbEBueeQdynXjuT84ETMNQPR/7YfstE8FLPNi9SUFCaisOClfWGIdkYeu/ 0ET3o1dhOCsMHXR2Pl9kWjmlLHPtDQGSYriCUu+xM3TQiuSb2hdVZ+GLZpUWct4doYzU D2+w== X-Gm-Message-State: ACrzQf3R3wsGcW0lYMwN/ODiNP3osSp2yiMUoJBIAWYz/3soIptwwkdC UIMPs+t3+hO/0ujLSnoyCqSyq0YRNnJhug== X-Received: by 2002:a05:651c:88e:b0:26d:dd92:73e7 with SMTP id d14-20020a05651c088e00b0026ddd9273e7mr3094859ljq.503.1666195507195; Wed, 19 Oct 2022 09:05:07 -0700 (PDT) Received: from elroy-temp-vm ([20.240.130.248]) by smtp.gmail.com with ESMTPSA id g3-20020a056512118300b0049876c1bb24sm2337411lfr.225.2022.10.19.09.05.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 09:05:06 -0700 (PDT) Date: Wed, 19 Oct 2022 16:05:06 +0000 From: Tanjuate Brunostar To: greg@kroah.com, forest@alittletooquiet.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: [PATCH] staging: vt6655: Fix Lines should not end with a '(' Message-ID: MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747133284832128837?= X-GMAIL-MSGID: =?utf-8?q?1747133284832128837?= 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 --- drivers/staging/vt6655/rxtx.c | 44 ++++++++++++++++------------------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 5bdb5176772c..ff855def0bd5 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -87,33 +87,29 @@ static const unsigned short wFB_Opt1[2][5] = { /*--------------------- Static Functions --------------------------*/ static void -s_vFillRTSHead( - struct vnt_private *pDevice, - unsigned char byPktType, - void *pvRTS, - unsigned int cbFrameLength, - bool bNeedAck, - bool bDisCRC, - struct ieee80211_hdr *hdr, - unsigned short wCurrentRate, - unsigned char byFBOption -); +s_vFillRTSHead(struct vnt_private *pDevice, + unsigned char byPktType, + void *pvRTS, + unsigned int cbFrameLength, + bool bNeedAck, + bool bDisCRC, + struct ieee80211_hdr *hdr, + unsigned short wCurrentRate, + unsigned char byFBOption); static void -s_vGenerateTxParameter( - struct vnt_private *pDevice, - unsigned char byPktType, - struct vnt_tx_fifo_head *, - void *pvRrvTime, - void *pvRTS, - void *pvCTS, - unsigned int cbFrameSize, - bool bNeedACK, - unsigned int uDMAIdx, - void *psEthHeader, - unsigned short wCurrentRate -); +s_vGenerateTxParameter(struct vnt_private *pDevice, + unsigned char byPktType, + struct vnt_tx_fifo_head *, + void *pvRrvTime, + void *pvRTS, + void *pvCTS, + unsigned int cbFrameSize, + bool bNeedACK, + unsigned int uDMAIdx, + void *psEthHeader, + unsigned short wCurrentRate); static unsigned int s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType,