From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (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 BBA0C79C4 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="l8Rb91jj" Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-28cb3bc3fe7so1769374a91.1 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=lists.linux.dev; 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=l8Rb91jjvCvIgdcioR/e+PoQbzC3BKFqqRXlbW9TYAFxLbCAjKzot+rvmszGNY8lcJ QIoAQT3d2HfZm7ayCm9+sxZ4cAioF2B58ny8NwAiBkOIPMqfvzlbw0ErZiM6S/DNNmDh TTpkE43Zv1kU2Mfi6LbJTidgE9E/jRrZ8BbA4Fl4V6WIHL2DND7bgE124YrNsoXBZ2g9 Q1ZGK1Ak3GAnYLvmyANmcIV4QbuU9pohsQ6+aZAZ3gYZlhrV5wFrnDhxLVWH+5nm3dvq v7U6YbkVu1RfCasLiKQm9hQIlbC3BhznN4IzYx89nVR+PLJFR648CNSpR1hdjqo1SoLs xnyQ== 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=RdRUQoWlQU1DsSN7V9UvBUcxCJdMHGSr04zAuTiy9bTANZhJgQVUh085nABvNfkHRv +3PZ6+TSv+xM7ze0nu6gMuRdU6ho9LijENJWiMkCXNXdx98EWG+oVUbKx5dKRhWxD1Jo TyXhU1fXFy6TSEv8dWMcHKH/qp2Tyay9ka2/jLtUdUQtW31r8v23PNpBS5CLRkdlbhHB L66nWS0UfDxQiLWSeMoybUfTVckE+FvAGJ8MrHUxKpEwyrYo0w5vK1KHKlvcObA7TxqR jSCuWv3HsqZDRBTJ5J0ZNFeWhhWLsnx6lF9TRlo9tJNnpPS6XXckJmBSE/UoUD4/Y9/R s0mw== X-Gm-Message-State: AOJu0YxIDwIpeWKTzE+TmSDR0OwoFxHdSoK5+Cjvd8IsrF4/F5ICUm05 eAPUAX52j4M5GDZ6buKkXsE= X-Google-Smtp-Source: AGHT+IGnUwnoimws7LOCtPUVEFFxlMdF46OpqogdJafi3aWG8Xkd+2Ha3F0LxpYWZ/JlqzHIw4Ag0g== 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-staging@lists.linux.dev 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