From patchwork Fri Sep 20 02:59:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yan Zhen X-Patchwork-Id: 830009 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2074.outbound.protection.outlook.com [40.107.215.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 914CB8488; Fri, 20 Sep 2024 03:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.215.74 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726801295; cv=fail; b=JwIWZYatyhQ3+I6cahv2dtXo1ZKk9Ho6xCs8X9+YJj/paxITWK0W7Em+FS1MGVgqPXwcUU82fABSZ9cIYtpHEMFyD/fkPPvoEWW99m/Xm1FMJc2nbu6watphkyjuMsFOWk+mgGcFnhAQCHXsaEabpjoFEqd7DoAzndQNURJz7Q0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726801295; c=relaxed/simple; bh=pKzhoCoD9n03+DuBgEWd0xvgYdMLyYh5ZMmnBx7uSho=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=Ii5Trbn9myzmMnaXP6Ye7dmMOI4RrDHc8rQohxiEw6zVlmaV3y7FQxnbEDIi1YfOC9WHv1HT3L+HaYxSqpTxL+6/KE+GpFwHDIpbvGP8+UFVCSWFZ1bK5EtyyUiQVjbXtUIwa82jO8+qP+SZ+HbEBo2cLEDUOAZ80IdpYSvLM8E= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com; spf=pass smtp.mailfrom=vivo.com; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b=kP8mz4bA; arc=fail smtp.client-ip=40.107.215.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vivo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b="kP8mz4bA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bMFWWicFDUQRgawZZRXVilQxJdDQA5FcjdLiGcykXgu3yFquQybEBGZgj+S9bVdwq1Q9+nmfktowx3L9EHwYybnYm6TKrQGR7awI5opHeT6pzkTUh+8rTgC+DRgWegQi7lctlUTEgH0jEyR8fsZ6aItguHbFrML3doo03aY+JusnZPIDfsL7g42Tsm2pi7qzIBhMHqsrQyXAvrSKfB/f5cejwZFJpZ7ZfGYfUew3AptjD/xrfJ8pm7yKCeAC3Ff+Q4XNMGKW81yUBHlqcGvkkZeg/ZXpyjPpbVeywzs3ZIgEcYeQs8QBnWsvP2676iW7DhupyLYF1QDSYWqSym70HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2brxpBey+dVMNUKWiQoBvX32gnqa2jeQeSQ9CLddOeY=; b=zVYBE6HqUZElgANl1SFPKdf9o7oxHZg8O5iCZiuQicN4gpUgNAxtWcCoHcGWLYjIp4n0u6M0kgOmn0qtCCk8XaxqgFAYzU+G1uMJqZop9xGXciVrNpQr8VcFQAvh44I/pQ08jpzqlP7vavbuM07KDRBpq5wOiR7VoqQ+FoA6lFS9fpLykWhePdQx5Gc1AZKdlMVu0Gj6584I0MURc5MsvJ5Li8k/G+ghD3c95Khli/wQwrHe5yehEZF7hJDrzrN8sviMcHvqU/E7nA9BoQo87x7hfOL6dx5fzYLmNJFZoDSx+iS/fr/ehgulzWoi6M50tsTH7rCYst7gKZgO/7GsTQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2brxpBey+dVMNUKWiQoBvX32gnqa2jeQeSQ9CLddOeY=; b=kP8mz4bApmYPiPoTwvrmQ5aNUmNhrp1BD3FVhgBp+0M3B0F3H+bT+wNFsg3FxF88Bs9jqlbcOQjNG8CKwVWL2do6j8+03aG/8NRrhq3XlU2XDJscXfbLuuf0SAAaTpBcy6/ndkLqZr5t8aY1jAGB2WOS+79AiWV3jfNILIbI6JBhtHB8LC/EguM81DZMrLVRXatZNdb3Gz5OnueOEj9RFOqmGjKPRJY/LW646Yda3FQ/CVKYLHa6qR4olxvvWcKBrq2q3C16ddYJX2KAe+osWQfnPq1rRiUMGoADXN8biXFlHWCjBOA1lBaljS5+jT2Wj2ddSf3gTUkyT7BW8c00bg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from KL1PR0601MB4113.apcprd06.prod.outlook.com (2603:1096:820:31::7) by SEZPR06MB5271.apcprd06.prod.outlook.com (2603:1096:101:7a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.24; Fri, 20 Sep 2024 03:01:27 +0000 Received: from KL1PR0601MB4113.apcprd06.prod.outlook.com ([fe80::7e85:dad0:3f7:78a1]) by KL1PR0601MB4113.apcprd06.prod.outlook.com ([fe80::7e85:dad0:3f7:78a1%4]) with mapi id 15.20.7962.022; Fri, 20 Sep 2024 03:01:27 +0000 From: Yan Zhen To: stf_xl@wp.pl, kvalo@kernel.org Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, Yan Zhen Subject: [PATCH v1] wifi: rt2x00: convert comma to semicolon Date: Fri, 20 Sep 2024 10:59:17 +0800 Message-Id: <20240920025917.1959932-1-yanzhen@vivo.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: TY2PR02CA0009.apcprd02.prod.outlook.com (2603:1096:404:56::21) To KL1PR0601MB4113.apcprd06.prod.outlook.com (2603:1096:820:31::7) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: KL1PR0601MB4113:EE_|SEZPR06MB5271:EE_ X-MS-Office365-Filtering-Correlation-Id: 8063a207-0305-4ca5-a1f0-08dcd92084b9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|52116014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: JDHaL9R8QvENXVo9xi7YFfLkYEm68IlcnY1z7HKKhtN8OLzGzdCA9C+B3lz9BojLvH2r2u9t+G2lsZB3pgKHlNgUg9v/sG3KgYXiq2BFL1BfDPCbVoXWqqEx54J9nIrPFbueeEBxbqc/LxSYOiVPGj+cZkhjgI41g/hxhxsxC1VtCT21faHWs2BjQUGPf93KwjsOdjHsayyoxWXAfTRxKyfbbz14wR1En2twqHxY+aQCYkBDX+ByzBXUfRX1LOn1PPjubt6CBfBci59vBPlrh88otPHGQ1rSQoC7IlWEPT9OrCaRmIkX1bpEnp4Jqg3fkY8cbawGBJIU4Ev+gmxfrV5wbDBPJfVaBAoF5jwvQspHqXkCap6y/0HzKr5nTgEAhWO6vJgy4QJ2sl3WaaMNCfIrJuyNrlV4teffSkEWU6A0AQse5YpxueGJVoLEvSVYZXLPeoGl2j08z4lQ0qoGGB7Up8eFcExMxxquOP1SfKmG2TNF8a5XLUR3htSbF7D7mhdnRg45h1dDHrK4zKPQNGsybUF5CgjWiYjWd9wCCXUU38qbpCylfL5tostxuV5plo+4ymSEx3wiksDr+ot4H9E1xwrWKff391Df40zA+dTskw9eTvEU0vrFqpTfgWVdbzsLCyHwOgpLbuvSLKoB1Wse08IpSIZ0s3Gs8x6VO23y87x5ArOFBvbfHxFAYnLtmSoUA8dKPNfTkQxYiT4z3qqBnlY2+t4GWVGCiTIoqJVrmKtdTGNz2eJdSyEQMM14D9NUez54tL1IiF8AUOnd93p6KKZDhV2SoQpkrDUlv1kN6H2h47cLZJvKxfPrT+bsUfK9ToaVY8YKBKon5x8SwCILd/OeD96Q2D7bwggc7ws2eucXhWUIwIbQxJ3WJriMgLm+mdBAoUj1RdNw9saJZQaZ/DOBwr4OWAcnoNj72yYvvwUNvDeJQ97dqw+Q3Bh5kMkr1+q/iJrrKBtWtleCBclRERrKKAhnxhJxYqJy6ATDcVWjlUZOe2R1VOqOp+y0ehPoCqIGis9Do6Cls1EFLOzNeg0qkymVHAba8i0GctmUHA3vZKk1eoeQTihljKC9wh7bbNfWf2wkhpYQbzQ2GPIJ/9J2EXAw62LGmFIttFI1WzoHpaZe6OEIDtNd4VuVVVjubMGvw10WxmuF5otNYDjqAkUEP6hS0+KenrM5/ZH2kFz50QcK3uLNedPcSET2jLx0UwKnIaPN/YZGKItxgMAyrC2cYApkBXBIaF0ZOiv3MmxOT9lV5BdOiJVqzr7Xke5d0WFA2XOIDW6fxFpHL6P6ViQHd2o1N/vZnkENyU3YNoi+H5gjxLYjvT2iNp0P6Ci5PT9RZt4TaqWjR0vTDEdWJssmLFJtxZW8ETrxVruke7Uaj/JBgUMvP2M174es6pdjdQgxQ1pnF5WiMj0ewQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:KL1PR0601MB4113.apcprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(52116014)(366016)(1800799024)(38350700014); DIR:OUT; SFP:1101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G56tbd4e7rKhRPg0qwjcKXJ3w6oKTuW9Ibf6Cn8sy7knseokEApUHxi2PrwKFr7PLBfCYSZnJlCZiOvs0NrlBml89n2byjDYqWgvH8FwnsVyUxltU8z+eBkVczqt462d5P1i/yK6d8QNgIxhgQj5ZiNLAE+PVDj9LAfe3rIAS3aR8OXIGzuhG+S+tt11aCcuLpt/9HDuoMeh2wQspLh0u41ixmuljU9AMrdUkEVz54mCWkTQ1Uunc54JG6dN2lu3veef3PIPUE+1zaZdx5cco5t4DKywhh0kSM+8CRHX6PUAEfvSE59wavyDsnkwqWVEJO7Y4x2amJliW8gRpiNdskGoQ3bZvCTCJvS3B1cd93pnhqzumUNidqet1v/Pp7Fwj57QULiMTKKHNopr/Mph0vsLMXtZEB8WIRWggPdIJmP9sj5oO75G0WeX6nZZJRxUjhctuOA+zFyJzKRtZLYwThSYgtr4Qpcp+4XOzz8H0SvGzXypI2ZL6eCQO1VMxcUoHFgrC1gJeKjvKSfQnaayZLGqG1SUUO99Z8NadvI8QMZIPS7ndtpQB9aqadsFz6S6qupPfd X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8063a207-0305-4ca5-a1f0-08dcd92084b9 X-MS-Exchange-CrossTenant-AuthSource: KL1PR0601MB4113.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2024 03:01:27.0683 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 3U5u6bw+870IrlTggvqTV6aKDr/xBJQnv6e3pVPWqyc3FSm3DlU6xU5P+2J4Sx74QmpDPqnIH6YailuVzBPJzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR06MB5271 To ensure code clarity and prevent potential errors, it's advisable to employ the ';' as a statement separator, except when ',' are intentionally used for specific purposes. Signed-off-by: Yan Zhen Acked-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c index 3bb81bcff0ac..60c2a12e9d5e 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c @@ -3607,7 +3607,7 @@ static void rt2800_config_channel_rf55xx(struct rt2x00_dev *rt2x00dev, rt2800_rfcsr_write(rt2x00dev, 52, 0x0C); rt2800_rfcsr_write(rt2x00dev, 54, 0xF8); if (rf->channel <= 50) { - rt2800_rfcsr_write(rt2x00dev, 55, 0x06), + rt2800_rfcsr_write(rt2x00dev, 55, 0x06); rt2800_rfcsr_write(rt2x00dev, 56, 0xD3); } else if (rf->channel >= 52) { rt2800_rfcsr_write(rt2x00dev, 55, 0x04);