]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clockevents: Fix duplicate type specifier in stub function parameter
authorNaveen Kumar Chaudhary <naveen.osdev@gmail.com>
Mon, 1 Jun 2026 03:57:46 +0000 (09:27 +0530)
committerThomas Gleixner <tglx@kernel.org>
Tue, 2 Jun 2026 19:07:55 +0000 (21:07 +0200)
The stub for arch_inlined_clockevent_set_next_coupled() has 'u64 u64
cycles' in its parameter list. Since u64 is a typedef, the compiler
parses the second 'u64' as the parameter name, making 'cycles' an
unused token. Remove the duplicate so the parameter is correctly named.

Fixes: 89f951a1e8ad ("clockevents: Provide support for clocksource coupled comparators")
Signed-off-by: Naveen Kumar Chaudhary <naveen.osdev@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/7tostpvxzdn6tobmyow63a5rweatls5kux3scqp2vzhe7mv6uq@ecr746b4hyhf
kernel/time/clockevents.c

index 5e22697b098d8b1b45a9bbdf086155c96ea3643b..0014d163f989bb319efca91fd5b7d25d6428fac6 100644 (file)
@@ -301,7 +301,7 @@ static int clockevents_program_min_delta(struct clock_event_device *dev)
 #include <asm/clock_inlined.h>
 #else
 static __always_inline void
-arch_inlined_clockevent_set_next_coupled(u64 u64 cycles, struct clock_event_device *dev) { }
+arch_inlined_clockevent_set_next_coupled(u64 cycles, struct clock_event_device *dev) { }
 #endif
 
 static inline bool clockevent_set_next_coupled(struct clock_event_device *dev, ktime_t expires)