Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clocksource: Make the int help prompt unit readable in ncurses

When doing

make menuconfig

and searching for the CLOCKSOURCE_WATCHDOG_MAX_SKEW_US config item, the
help says:

│ Symbol: CLOCKSOURCE_WATCHDOG_MAX_SKEW_US [=125]
│ Type : integer
│ Range : [50 1000]
│ Defined at kernel/time/Kconfig:204
│ Prompt: Clocksource watchdog maximum allowable skew (in s)
^^^

│ Depends on: GENERIC_CLOCKEVENTS [=y] && CLOCKSOURCE_WATCHDOG [=y]

because on some terminals, it cannot display the 'μ' char, unicode
number 0x3bc.

So simply write it out so that there's no trouble.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20240428102143.26764-1-bp@kernel.org

authored by

Borislav Petkov (AMD) and committed by
Thomas Gleixner
54db412e b7c8e1f8

+1 -1
+1 -1
kernel/time/Kconfig
··· 202 202 the size of the kernel image. 203 203 204 204 config CLOCKSOURCE_WATCHDOG_MAX_SKEW_US 205 - int "Clocksource watchdog maximum allowable skew (in μs)" 205 + int "Clocksource watchdog maximum allowable skew (in microseconds)" 206 206 depends on CLOCKSOURCE_WATCHDOG 207 207 range 50 1000 208 208 default 125