Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3450706ybp; Sun, 6 Oct 2019 12:12:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhEcYa4VvG7Q0RSFa/PeekMS/SBCMjyMTmJnC9OhMgziKDploT3Ysj5cSP1CVM7FWfVDCi X-Received: by 2002:a17:906:938b:: with SMTP id l11mr20496319ejx.67.1570389124265; Sun, 06 Oct 2019 12:12:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570389124; cv=none; d=google.com; s=arc-20160816; b=byQ2etGye+ocF/VDyL+C1smxWJmetNRpkp+nFTwE9pzQl+KSGD5iDnDcknn+IhhqsV 8Ousx0+VTNzCgcN0agTIIX8DAEi91RQHHUSQTvFjgeN/X878lCBaJuc3Zgde1F1uFZEE JjeBTdYY26SXSJm4UBXFPxoQY79RwYxHinqKRVHGQuN8OHS2+aIZKGd9V2tXkGdM5hfF dn8W9mgUPcyhFaNYugfGTCWSxBDJnTELV6Qgu+q6/trHVqz+Ad+hrupdZWmk7uy90jQx HRFmJMrVUJrS0tMWXaoW/v0sfHW+Se003igtrL6AhbeA7YrHrYK+IEjUh6peyd1F943O KgFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tCwKqi1o+pVk0eCqSLaVvuDUC0Ngrzkx/4GvgrlbAtI=; b=tmhKnv7acl61s/l9/fbdf/UMd6KGjTbilyhJB3hQJSjeG872Vqfr2iLpi0X68vTgi9 bJzOR9i2v+inTuHKCC59bwjNOw+3S6b83N7Wk+GcQtk3IF1QJqU6NnoGtnHTKloet01+ JCqfaO+//pB+VNtaaeo+QwJjW8EUhTS2R8CVxIfI86jIw4wEUauvHt4dV/c/8kPJ8ciF 1e/BxyBEM0ocys6m+GDUtp0wYYhT8UvNp2zFCR1jBlX7bO8T6150A+CD/t42qb5cGIye zWQWkqmewfSghv3IBtwIA35s8EgY288Yb4y0D+uA1vikYwHqTXMD4Ata/FdoXJFdoTYq LZkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mS7P9O3Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f41si7123228edf.113.2019.10.06.12.11.40; Sun, 06 Oct 2019 12:12:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mS7P9O3Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726614AbfJFTKe (ORCPT + 99 others); Sun, 6 Oct 2019 15:10:34 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:36685 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726030AbfJFTKe (ORCPT ); Sun, 6 Oct 2019 15:10:34 -0400 Received: by mail-qt1-f194.google.com with SMTP id o12so16223532qtf.3 for ; Sun, 06 Oct 2019 12:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tCwKqi1o+pVk0eCqSLaVvuDUC0Ngrzkx/4GvgrlbAtI=; b=mS7P9O3YIav8KEuZm3+CXz4iU8nGdp24dICzN6qTpCAj4FyyDIKphC91akWM3JaX3B NlHUo+PhefyQp5gX1NvaEIbsb77IcnHVcrt5lrCN8LLmWTkwyUmuepDsxxyghv/q8PE2 ijoeLEBozBqnRaz+blVh4hzLwGgrNd6JeQAaCFF2edWP3/Esr06CZYIcFS8s4a7ajZeW 2GOZ8vRTaeI8yQo0j0n+d6vCTbkzWv3MRQoDynqv5Hiu1AVON2pdtuwEs8dlH0zwtoqo cVeiSRmFWCq6nHnrPYHb5WfSy2xLWNCiJYD96V7SC48PGSGhYHZ8dz8/PdXLtZzUuXK2 yIig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tCwKqi1o+pVk0eCqSLaVvuDUC0Ngrzkx/4GvgrlbAtI=; b=T/mKqx/sPRX00xeaBp31sHca4/bbdWvvQkryus+fgVPgcb6oPzAz7JuhMuuQLkY0mQ tO8DarwKQhGlFZto8e+zBR1fg3YIBbyekmtaj3jhMM9JFk2BMIxRo2jFx4+ujIDyHTla NCNGHLOD5w/v1ZTPI4nyYXRaW0Rq58BJWKn9B0tRuimCgHEjT2s2BfjSOPporugjE7av MMHQKaVnXJxMa23D4OT+AekJ8KjEZFvkyuoXqOZ95A9sJkZxMCZskj6JpyjavwYEhN79 hEpyvDh/7l+BCnCuCPN1f3zGgGQe539LRR9/XNiYy8fRQpQlTHWzyhyfDQEfMRmbQFY4 jsbg== X-Gm-Message-State: APjAAAX5eIrXqKsN6ZNS+YNvtAj4xfdPOm2GmNbUC8VB0D/mrqO/HoTu uODZ3mb5SAOHLWofCfo+eIY= X-Received: by 2002:ac8:6e8b:: with SMTP id c11mr26342411qtv.77.1570389031557; Sun, 06 Oct 2019 12:10:31 -0700 (PDT) Received: from GBdebian.terracota.local ([177.103.155.130]) by smtp.gmail.com with ESMTPSA id u132sm6577518qka.50.2019.10.06.12.10.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Oct 2019 12:10:30 -0700 (PDT) From: Gabriela Bittencourt To: outreachy-kernel@googlegroups.com, forest@alittletooquiet.net, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Gabriela Bittencourt Subject: [PATCH] staging: vt6656: align arguments with open parenthesis Date: Sun, 6 Oct 2019 16:10:20 -0300 Message-Id: <20191006191020.7435-1-gabrielabittencourt00@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cleans up CHECKs of "Alignment should match open parenthesis" Signed-off-by: Gabriela Bittencourt --- drivers/staging/vt6656/rxtx.c | 63 +++++++++++++++++++++++------------ 1 file changed, 41 insertions(+), 22 deletions(-) diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index 9def0748ffee..c7522841c8cf 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -285,14 +285,15 @@ static u16 vnt_rxtx_datahead_g(struct vnt_usb_send_context *tx_context, buf->duration_b = dur; } else { buf->duration_a = vnt_get_duration_le(priv, - tx_context->pkt_type, need_ack); + tx_context->pkt_type, + need_ack); buf->duration_b = vnt_get_duration_le(priv, - PK_TYPE_11B, need_ack); + PK_TYPE_11B, need_ack); } buf->time_stamp_off_a = vnt_time_stamp_off(priv, rate); buf->time_stamp_off_b = vnt_time_stamp_off(priv, - priv->top_cck_basic_rate); + priv->top_cck_basic_rate); tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr); @@ -325,7 +326,7 @@ static u16 vnt_rxtx_datahead_g_fb(struct vnt_usb_send_context *tx_context, buf->time_stamp_off_a = vnt_time_stamp_off(priv, rate); buf->time_stamp_off_b = vnt_time_stamp_off(priv, - priv->top_cck_basic_rate); + priv->top_cck_basic_rate); tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr); @@ -595,17 +596,24 @@ static u16 vnt_rxtx_rts(struct vnt_usb_send_context *tx_context, u8 need_ack = tx_context->need_ack; buf->rts_rrv_time_aa = vnt_get_rtscts_rsvtime_le(priv, 2, - tx_context->pkt_type, frame_len, current_rate); + tx_context->pkt_type, + frame_len, + current_rate); buf->rts_rrv_time_ba = vnt_get_rtscts_rsvtime_le(priv, 1, - tx_context->pkt_type, frame_len, current_rate); + tx_context->pkt_type, + frame_len, + current_rate); buf->rts_rrv_time_bb = vnt_get_rtscts_rsvtime_le(priv, 0, - tx_context->pkt_type, frame_len, current_rate); + tx_context->pkt_type, + frame_len, + current_rate); buf->rrv_time_a = vnt_rxtx_rsvtime_le16(priv, tx_context->pkt_type, frame_len, current_rate, need_ack); buf->rrv_time_b = vnt_rxtx_rsvtime_le16(priv, PK_TYPE_11B, frame_len, - priv->top_cck_basic_rate, need_ack); + priv->top_cck_basic_rate, + need_ack); if (need_mic) head = &tx_head->tx_rts.tx.mic.head; @@ -627,12 +635,16 @@ static u16 vnt_rxtx_cts(struct vnt_usb_send_context *tx_context, u8 need_ack = tx_context->need_ack; buf->rrv_time_a = vnt_rxtx_rsvtime_le16(priv, tx_context->pkt_type, - frame_len, current_rate, need_ack); - buf->rrv_time_b = vnt_rxtx_rsvtime_le16(priv, PK_TYPE_11B, - frame_len, priv->top_cck_basic_rate, need_ack); + frame_len, current_rate, + need_ack); + buf->rrv_time_b = vnt_rxtx_rsvtime_le16(priv, PK_TYPE_11B, frame_len, + priv->top_cck_basic_rate, + need_ack); buf->cts_rrv_time_ba = vnt_get_rtscts_rsvtime_le(priv, 3, - tx_context->pkt_type, frame_len, current_rate); + tx_context->pkt_type, + frame_len, + current_rate); if (need_mic) head = &tx_head->tx_cts.tx.mic.head; @@ -655,18 +667,25 @@ static u16 vnt_rxtx_ab(struct vnt_usb_send_context *tx_context, u8 need_ack = tx_context->need_ack; buf->rrv_time = vnt_rxtx_rsvtime_le16(priv, tx_context->pkt_type, - frame_len, current_rate, need_ack); + frame_len, current_rate, + need_ack); if (need_mic) head = &tx_head->tx_ab.tx.mic.head; if (need_rts) { if (tx_context->pkt_type == PK_TYPE_11B) - buf->rts_rrv_time = vnt_get_rtscts_rsvtime_le(priv, 0, - tx_context->pkt_type, frame_len, current_rate); + buf->rts_rrv_time = + vnt_get_rtscts_rsvtime_le(priv, 0, + tx_context->pkt_type, + frame_len, + current_rate); else /* PK_TYPE_11A */ - buf->rts_rrv_time = vnt_get_rtscts_rsvtime_le(priv, 2, - tx_context->pkt_type, frame_len, current_rate); + buf->rts_rrv_time = + vnt_get_rtscts_rsvtime_le(priv, 2, + tx_context->pkt_type, + frame_len, + current_rate); if (tx_context->fb_option && tx_context->pkt_type == PK_TYPE_11A) @@ -767,10 +786,10 @@ static void vnt_fill_txkey(struct vnt_usb_send_context *tx_context, 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); @@ -1036,7 +1055,7 @@ static int vnt_beacon_xmit(struct vnt_private *priv, struct sk_buff *skb) /* Get Duration and TimeStampOff */ short_head->duration = vnt_get_duration_le(priv, - PK_TYPE_11B, false); + PK_TYPE_11B, false); short_head->time_stamp_off = vnt_time_stamp_off(priv, current_rate); } -- 2.20.1