Skip to content

Commit 7ea5092

Browse files
committed
Merge tag 'timers_urgent_for_v6.18_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fix from Borislav Petkov: - Do not create more than eight (max supported) AUX clocks sysfs hierarchies * tag 'timers_urgent_for_v6.18_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: timekeeping: Fix aux clocks sysfs initialization loop bound
2 parents 72761a7 + 39a9ed0 commit 7ea5092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/time/timekeeping.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3070,7 +3070,7 @@ static int __init tk_aux_sysfs_init(void)
30703070
return -ENOMEM;
30713071
}
30723072

3073-
for (int i = 0; i <= MAX_AUX_CLOCKS; i++) {
3073+
for (int i = 0; i < MAX_AUX_CLOCKS; i++) {
30743074
char id[2] = { [0] = '0' + i, };
30753075
struct kobject *clk = kobject_create_and_add(id, auxo);
30763076

0 commit comments

Comments
 (0)