Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2816279rwi; Fri, 28 Oct 2022 11:35:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7S9qThNpCSfoQ3t3JZgO1sd7/N6P/EFupMVJ5lRPe/OyeRWnr1vfDDm2p8KCsee+1Tv80M X-Received: by 2002:a17:902:900a:b0:178:77c7:aa28 with SMTP id a10-20020a170902900a00b0017877c7aa28mr319806plp.3.1666982142853; Fri, 28 Oct 2022 11:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666982142; cv=none; d=google.com; s=arc-20160816; b=Ldxok9FFfrQk88OYi3m5OYrLzIy1jlJA+wVdPW/xSZpiKhnNICQpSyYyucscGv+bEA iPjrztGfjoFv6F3Tpc/Rx0k+9dgkQ3TkQbT9SSsdI9D+OJPE7j8MhEEfuOOpyMVHRsqm GsbiWsi6zWnCBLAHFS8kzZ2hlr5ZMf43lpK0DXSTk0P06eqI9RsoMRjGZ8uHTNxgJnXO B9PaLvKlpI3FF7Jx79/zSSt9mI2EpCJPxqFCERugLhyz/lr+b9hP5EUX03/hMtANjwt0 9ELWyCeK+kQjo6nvvnW/SyHjJEMQoHeVlyj70v/+HP9KBb6KRCuMlbnPR9uhxHWdYWsG tOng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rEOapcrR5Veb7GbTiYOEkCV8uEMgF6llwclPcWMWYnY=; b=lylNN7oivx2qH3lIwg86+lTbz3dCEGt2s+/ghmqWypmwjd59NI2he8388oAR+l2+7U cLphcBX40+uR4Dw1CwNZEKQIFhalPameIzw667mXLR2M4RTtFyKbfE9uR7AGmctw4ba+ LTxT+TSJIawOL6Uy8oLKhjgIPipdER8oLgmgJjkJY2p095bPL3k0M2oZqT1xHmdOpG3F GpF1PUBzImGC+UMtdz9iR3Dq2+ZPgJDNqxBSKyv6JpSi7K36ZlTSuYsh5dCtDPG+JbyV LLNso1sDF5KduqNMvrlMTY9gep+d/RCXJ9UoGpOgfllS6JXXFBCqdi3VAjUGTiGsuzFI qd3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WwpzTb+i; 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 ng13-20020a17090b1a8d00b00213a61cca5csi308166pjb.145.2022.10.28.11.35.30; Fri, 28 Oct 2022 11:35:42 -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=WwpzTb+i; 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 S230233AbiJ1Rls (ORCPT + 99 others); Fri, 28 Oct 2022 13:41:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230133AbiJ1Rlg (ORCPT ); Fri, 28 Oct 2022 13:41:36 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EBE11C8429 for ; Fri, 28 Oct 2022 10:41:23 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id d25so9012405lfb.7 for ; Fri, 28 Oct 2022 10:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rEOapcrR5Veb7GbTiYOEkCV8uEMgF6llwclPcWMWYnY=; b=WwpzTb+iSq6Qsli6fJJxH5RQUDLYQyiO/o/MYSY7N6z6Jgy7MnZDUMas5mg81ALVRU U9T+vGeMiZ9roVRA2qpTydAQIdk1t3tDGdzk9YwOlbQeoD0kTTQh4t9LEDoNMx0uPYUh Vblgj/rFbI49KtSCueFoLBsrw8IVvjT3ZndLVhm3vVKyjMlTei/GDb+Cz3CGMz+IC2fp NemWWWwFPvEbcIEKDuQs/UI5ENn0OH0zOgeEYOkVuuPThVMmaT+m1G58U4z/3PUgaf7q 1lV10rq4luUROPgOkU5Xx4CNlewTfleno1ZSAKecNSfrCFK3sttSgyBc2HjEVgGNboCQ kPrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rEOapcrR5Veb7GbTiYOEkCV8uEMgF6llwclPcWMWYnY=; b=tjXYsNwlTyvZHvtKS0emYzo/5rDxJ8hDgBOPkKeA+h84BsonNnL3P+Dje1mJpH0Hb0 bIXtvRqnC4cmEzlc1JrMy0aQUjsNdd28Y0lmEmWSE3NiATt2IbJ0lYfUIIEM6osIT8bA tTpQZQiglfVWE+0/8OUui3j55U4PWyJKiQZmd3wd9pyZTn6EXwsiwQ6cgU5ZePl5gsda TJzvkmU9/aNb7OzmCAfn5W3YAjwTKOHzLlsNJH+vYwyZo2z1wEfgDzfx/M2AUaclIArz Fgu2y4YPJMCMid6bZzZ6aOHlLTUI/qUW19bA63BiA5QmbXmZ4aa7LXEu/Smg/E4FmfD9 WR8Q== X-Gm-Message-State: ACrzQf04wVrNQcRjjDeMS/+0l7Qv8GDiyK9o42bPUpQoa8ZzHBVYp1d6 pdQkoZwHb18tTLVU6Oil0lU= X-Received: by 2002:ac2:4a6f:0:b0:4b0:1e5a:9287 with SMTP id q15-20020ac24a6f000000b004b01e5a9287mr203825lfp.156.1666978881713; Fri, 28 Oct 2022 10:41:21 -0700 (PDT) Received: from elroy-temp-vm.gaiao0uenmiufjlowqgp5yxwdh.gvxx.internal.cloudapp.net ([20.240.130.248]) by smtp.googlemail.com with ESMTPSA id s2-20020a2eb622000000b0026dfdcbccdasm725322ljn.14.2022.10.28.10.41.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 10:41:21 -0700 (PDT) From: Tanjuate Brunostar To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Tanjuate Brunostar Subject: [PATCH v8 6/6] staging: vt6655: fix lines of code ending in a '(' Date: Fri, 28 Oct 2022 17:40:58 +0000 Message-Id: <45d10b850cef8ed5db7042311dbe19bcba185396.1666978292.git.tanjubrunostar0@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 fix checkpatch errors related to lines ending with a '(' by joining some lines of code and indenting properly to increase visibility Signed-off-by: Tanjuate Brunostar --- drivers/staging/vt6655/rxtx.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 6a4fcb16b674..d585435520b3 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -1118,7 +1118,7 @@ static unsigned int s_cbFillTxBufHead(struct vnt_private *pDevice, pMICHDR = (struct vnt_mic_hdr *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts)); pvRTS = NULL; - pvCTS = (void *) (pbyTxBufferAddr + wTxBufSize + + pvCTS = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts) + cbMICHDR); pvTxDataHd = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts) + cbMICHDR + @@ -1296,10 +1296,8 @@ static void vnt_fill_txkey(struct ieee80211_hdr *hdr, u8 *key_buffer, ether_addr_copy(mic_hdr->addr2, hdr->addr2); ether_addr_copy(mic_hdr->addr3, hdr->addr3); - mic_hdr->frame_control = cpu_to_le16( - le16_to_cpu(hdr->frame_control) & 0xc78f); - mic_hdr->seq_ctrl = cpu_to_le16( - le16_to_cpu(hdr->seq_ctrl) & 0xf); + mic_hdr->frame_control = cpu_to_le16(le16_to_cpu(hdr->frame_control) & 0xc78f); + mic_hdr->seq_ctrl = cpu_to_le16(le16_to_cpu(hdr->seq_ctrl) & 0xf); if (ieee80211_has_a4(hdr->frame_control)) ether_addr_copy(mic_hdr->addr4, hdr->addr4); @@ -1470,9 +1468,9 @@ static int vnt_beacon_xmit(struct vnt_private *priv, /* Get Duration and TimeStampOff */ short_head->duration = - cpu_to_le16((u16)s_uGetDataDuration(priv, DATADUR_B, - frame_size, PK_TYPE_11A, current_rate, - false, 0, 0, 1, AUTO_FB_NONE)); + cpu_to_le16((u16)s_uGetDataDuration(priv, DATADUR_B, frame_size, + PK_TYPE_11A, current_rate, false, + 0, 0, 1, AUTO_FB_NONE)); short_head->time_stamp_off = vnt_time_stamp_off(priv, current_rate); @@ -1486,9 +1484,9 @@ static int vnt_beacon_xmit(struct vnt_private *priv, /* Get Duration and TimeStampOff */ short_head->duration = - cpu_to_le16((u16)s_uGetDataDuration(priv, DATADUR_B, - frame_size, PK_TYPE_11B, current_rate, - false, 0, 0, 1, AUTO_FB_NONE)); + cpu_to_le16((u16)s_uGetDataDuration(priv, DATADUR_B, frame_size, + PK_TYPE_11B, current_rate, false, + 0, 0, 1, AUTO_FB_NONE)); short_head->time_stamp_off = vnt_time_stamp_off(priv, current_rate); -- 2.34.1