Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp149261rdd; Mon, 8 Jan 2024 22:38:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IGiQl6Gg7Z/AWxN6TCTOlT6dGbcZAMf9L1RMNdBnZtZeZXgTA2IZIqOTgKP418hZAzqKlTu X-Received: by 2002:a05:620a:2943:b0:77e:fda6:630b with SMTP id n3-20020a05620a294300b0077efda6630bmr361603qkp.43.1704782311680; Mon, 08 Jan 2024 22:38:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704782311; cv=none; d=google.com; s=arc-20160816; b=FlAdQiiJQUOkk+YE27c8YrQHTEUOBAbeEy3T3F/6pS/drMHMaI/WtKDZZAXL4cdJ9Y YapBrgZbkfR+89XCD3ndK5N6letMRcSBm6DDCL41ZQX+ARPY8z4tbH/xq/x82E+1iQ1x EBtBMPRCFEa9qaMdvyYOQJnZEk6cjhHvWoWGq1Tm3DWQIgsHVl+EGjQUvuoG+slGIOaW /sz48OqV9mClLIW26eHu9VWEkszVa5XA1j/p08RRH4nDc9VrFGTfShnxBEcUTd4mPlCn zpHD011pU6uJjRJzLezsGYPSGRa0PQ8RzyOijV3+BCVMJrjPXwTMNUjYuteTjtHTG+EH zKtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=JNAj1SK6BtI+I3qFl1weozUNNWGQcGEAhjad6VEb8FA=; fh=lHaMCVSjJFlbp1W5cistdY2MzGo8kSUF/j4n+MQAmAY=; b=YWsxvnSZTQ/f96/nYYIxec/Kq4eRdlv3rObRUgCJAf9tHUePn5uCOEj7EjsJFOFBDh H0+Wtt18/u5h2APITrxA+K5xYjSwx8nDf3slQo0wuKCCB2eXXuzeHvTcIay7Xz0niN7j ATkhcn8j6ejSF2AD/ugF/aUW/R6Gss7ua/Xa5KGXlIpRbg9F/jacPTx4YWhg/HwJ/c6J QZvQ4nw07u52jfLNvnTOJONADnKYDcEnHCVc6yCWsq3p83HCNhQkwDGGZVdfu6G4yt+z 179xNad21Rkj+NGnNHRMKgQbDI/OaEEhJbsO4TWlU9jHulVIGZQiqOY3PYEA+lRZgF0o D4dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Anlb5Q3E; spf=pass (google.com: domain of linux-kernel+bounces-20434-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20434-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bs32-20020a05620a472000b007832de14c10si860764qkb.585.2024.01.08.22.38.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 22:38:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20434-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Anlb5Q3E; spf=pass (google.com: domain of linux-kernel+bounces-20434-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20434-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6F6BC1C2350A for ; Tue, 9 Jan 2024 06:38:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E70278F4F; Tue, 9 Jan 2024 06:38:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Anlb5Q3E" Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B90DD7497 for ; Tue, 9 Jan 2024 06:38:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-28c467446f0so2431832a91.0 for ; Mon, 08 Jan 2024 22:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704782305; x=1705387105; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JNAj1SK6BtI+I3qFl1weozUNNWGQcGEAhjad6VEb8FA=; b=Anlb5Q3EjISbVPt6yIMbR028jv5QYlFGskzwH0fDMkBUHjQZ1QoH5ac7AfZOQdln4c zy3kvtGmldS/Y3aPpfdu+OLFQw582pHLhEREb5VwwgbiqVz7YGmk5cDoNshRWJqANsQk 0a02pP+jjjbQInKAVbdS1ZZaYbrn1zZziKfQVyyXcl/n4V9Afs8IwoTWnfK7vQtNI23M W7IxptnBfX1CQWu9r3FbdY03dddhtEOFukI6aUf6SuPzWtdWDcx14HnpB1A/n3jYdtNt fZ0BrL+q71LcrkL6Wf1S6hUwdHFKd7bJc2FlfKI3X2uPzSgRvJzBwS0TnWZKmh4GmMKj BBMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704782305; x=1705387105; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JNAj1SK6BtI+I3qFl1weozUNNWGQcGEAhjad6VEb8FA=; b=C0jbU1lrfzPJb3KEZVgkx2eVEnA2Sot4fu3bAPfLfRM/kfp2sOvvwjzDYkvXUxIyLX NQC20Fxt0ys0667geWx6hq+b1++MoWfMeXu3O5YuNlDYvLOJKm6G6yGEmJmKVTgrh+vH IRDkXqYJMh0Kx82gFZ1LHsQpS0FGh7OWz1L8gR2o9zWiioG5BFU1yJ6okKiMo/sNE1gN 7Z3cZ0svFaQX71hysoKifjVkH68qxwy6UMZoBKmCMe9iGdy+B6L/V6XBZhquT+0O7zTe d7R2PBgRQoKd6k10wFdz2ocz8Oe4yX7KDZm7vjA/NMXcj3OvlEQ09qh/BSwcbLNwHEr0 83uA== X-Gm-Message-State: AOJu0YxpUVG7Ol6Cuj6uSdR1P3mmWo67bUECqAHJNJlATx2uIVSJMwmW fpYCGSMvVPLfYGkkvSKdc1S2QZ+MoZUAHw== X-Received: by 2002:a17:90a:acf:b0:28d:1c39:f15b with SMTP id r15-20020a17090a0acf00b0028d1c39f15bmr351030pje.21.1704782304919; Mon, 08 Jan 2024 22:38:24 -0800 (PST) Received: from mgyee-VirtualBox ([47.152.33.114]) by smtp.gmail.com with ESMTPSA id lt20-20020a17090b355400b0028d9fc97c29sm344877pjb.14.2024.01.08.22.38.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 22:38:24 -0800 (PST) From: Matthias Yee To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Matthias Yee Subject: [PATCH] staging: vt6655: fixed check alignment of open parenthesis in card.c Date: Mon, 8 Jan 2024 22:36:19 -0800 Message-Id: <20240109063618.2810-1-mgyee9@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch adjusts whitespace to fix the checkpatch warning Alignment Should Match Open Parenthesis. Signed-off-by: Matthias Yee --- drivers/staging/vt6655/card.c | 74 +++++++++++++++++------------------ 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index 36183f2a64c1..688c870d89bc 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -81,9 +81,9 @@ static void vt6655_mac_set_bb_type(void __iomem *iobase, u32 mask) * Return Value: none */ static void calculate_ofdmr_parameter(unsigned char rate, - u8 bb_type, - unsigned char *tx_rate, - unsigned char *rsv_time) + u8 bb_type, + unsigned char *tx_rate, + unsigned char *rsv_time) { switch (rate) { case RATE_6M: @@ -288,7 +288,7 @@ bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type) * Return Value: none */ bool card_update_tsf(struct vnt_private *priv, unsigned char rx_rate, - u64 bss_timestamp) + u64 bss_timestamp) { u64 local_tsf; u64 tsf_offset = 0; @@ -297,7 +297,7 @@ bool card_update_tsf(struct vnt_private *priv, unsigned char rx_rate, if (bss_timestamp != local_tsf) { tsf_offset = card_get_tsf_offset(rx_rate, bss_timestamp, - local_tsf); + local_tsf); /* adjust TSF, HW's TSF add TSF Offset reg */ tsf_offset = le64_to_cpu(tsf_offset); iowrite32((u32)tsf_offset, priv->port_offset + MAC_REG_TSFOFST); @@ -321,7 +321,7 @@ bool card_update_tsf(struct vnt_private *priv, unsigned char rx_rate, * Return Value: true if succeed; otherwise false */ bool card_set_beacon_period(struct vnt_private *priv, - unsigned short beacon_interval) + unsigned short beacon_interval) { u64 next_tbtt; @@ -586,61 +586,61 @@ void card_set_rspinf(struct vnt_private *priv, u8 bb_type) /* RSPINF_a_6 */ calculate_ofdmr_parameter(RATE_6M, - bb_type, - &byTxRate, - &byRsvTime); + bb_type, + &byTxRate, + &byRsvTime); iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_6); /* RSPINF_a_9 */ calculate_ofdmr_parameter(RATE_9M, - bb_type, - &byTxRate, - &byRsvTime); + bb_type, + &byTxRate, + &byRsvTime); iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_9); /* RSPINF_a_12 */ calculate_ofdmr_parameter(RATE_12M, - bb_type, - &byTxRate, - &byRsvTime); + bb_type, + &byTxRate, + &byRsvTime); iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_12); /* RSPINF_a_18 */ calculate_ofdmr_parameter(RATE_18M, - bb_type, - &byTxRate, - &byRsvTime); + bb_type, + &byTxRate, + &byRsvTime); iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_18); /* RSPINF_a_24 */ calculate_ofdmr_parameter(RATE_24M, - bb_type, - &byTxRate, - &byRsvTime); + bb_type, + &byTxRate, + &byRsvTime); iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_24); /* RSPINF_a_36 */ calculate_ofdmr_parameter(CARDwGetOFDMControlRate((void *)priv, - RATE_36M), - bb_type, - &byTxRate, - &byRsvTime); + RATE_36M), + bb_type, + &byTxRate, + &byRsvTime); iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_36); /* RSPINF_a_48 */ calculate_ofdmr_parameter(CARDwGetOFDMControlRate((void *)priv, - RATE_48M), - bb_type, - &byTxRate, - &byRsvTime); + RATE_48M), + bb_type, + &byTxRate, + &byRsvTime); iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_48); /* RSPINF_a_54 */ calculate_ofdmr_parameter(CARDwGetOFDMControlRate((void *)priv, - RATE_54M), - bb_type, - &byTxRate, - &byRsvTime); + RATE_54M), + bb_type, + &byTxRate, + &byRsvTime); iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_54); /* RSPINF_a_72 */ calculate_ofdmr_parameter(CARDwGetOFDMControlRate((void *)priv, - RATE_54M), - bb_type, - &byTxRate, - &byRsvTime); + RATE_54M), + bb_type, + &byTxRate, + &byRsvTime); iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_72); /* Set to Page0 */ VT6655_MAC_SELECT_PAGE0(priv->port_offset); -- 2.34.1