lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175343949332.1420.3105498016966827953.tip-bot2@tip-bot2>
Date: Fri, 25 Jul 2025 10:31:33 -0000
From: "tip-bot2 for Chen Ni" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Chen Ni <nichen@...as.ac.cn>, Daniel Lezcano <daniel.lezcano@...aro.org>,
 Ingo Molnar <mingo@...nel.org>, Caleb James DeLisle <cjd@...ns.fr>,
 x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: timers/clocksource] clocksource/timer-econet-en751221: Convert
 comma to semicolon

The following commit has been merged into the timers/clocksource branch of tip:

Commit-ID:     7a3174ef0ce3b507a4a22b25822f13f454eab9f4
Gitweb:        https://git.kernel.org/tip/7a3174ef0ce3b507a4a22b25822f13f454eab9f4
Author:        Chen Ni <nichen@...as.ac.cn>
AuthorDate:    Tue, 03 Jun 2025 14:04:50 +08:00
Committer:     Ingo Molnar <mingo@...nel.org>
CommitterDate: Fri, 25 Jul 2025 12:07:01 +02:00

clocksource/timer-econet-en751221: Convert comma to semicolon

Replace comma between expressions with semicolons.

Using a ',' in place of a ';' can have unintended side effects.
Although that is not the case here, it is seems best to use ';'
unless ',' is intended.

Found by inspection.
No functional change intended.
Compile tested only.

Signed-off-by: Chen Ni <nichen@...as.ac.cn>
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Tested-by: Caleb James DeLisle <cjd@...ns.fr>
Link: https://lore.kernel.org/r/20250603060450.1310204-1-nichen@iscas.ac.cn
---
 drivers/clocksource/timer-econet-en751221.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/timer-econet-en751221.c b/drivers/clocksource/timer-econet-en751221.c
index 3b449fd..4008076 100644
--- a/drivers/clocksource/timer-econet-en751221.c
+++ b/drivers/clocksource/timer-econet-en751221.c
@@ -146,7 +146,7 @@ static int __init cevt_init(struct device_node *np)
 	for_each_possible_cpu(i) {
 		struct clock_event_device *cd = &per_cpu(econet_timer_pcpu, i);
 
-		cd->rating		= 310,
+		cd->rating		= 310;
 		cd->features		= CLOCK_EVT_FEAT_ONESHOT |
 					  CLOCK_EVT_FEAT_C3STOP |
 					  CLOCK_EVT_FEAT_PERCPU;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ