]> git.baikalelectronics.ru Git - kernel.git/commit
vdso/datapage: Use correct clock mode name in comment
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 20 Apr 2020 10:06:15 +0000 (12:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 20 Apr 2020 17:19:52 +0000 (19:19 +0200)
commitfd74a76f41f8b9bdfe18df404c80051453ee809d
tree10670baa305a1795aac492a92800ac3b33bccc69
parente4e79bc94ba2381f2a677c8e345f3bbe0674f2c2
vdso/datapage: Use correct clock mode name in comment

While the explanation for time namespace <-> vdso interactions is very
helpful it uses the wrong name in the comment when describing the clock
mode making grepping a bit annoying.

This seems like an accidental oversight when moving from VCLOCK_TIMENS
to VDSO_CLOCKMODE_TIMENS. It seems that
22538c520ee4 ("lib/vdso: Prepare for time namespace support") misspelled
VCLOCK_TIMENS as VLOCK_TIMENS which explains why it got missed when
VCLOCK_TIMENS became VDSO_CLOCKMODE_TIMENS in
7e42144fb6bf ("lib/vdso: Move VCLOCK_TIMENS to vdso_clock_modes").

Update the comment to use VDSO_CLOCKMODE_TIMENS.

Fixes: 22538c520ee4 ("lib/vdso: Prepare for time namespace support")
Fixes: 7e42144fb6bf ("lib/vdso: Move VCLOCK_TIMENS to vdso_clock_modes")
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andrei Vagin <avagin@gmail.com>
Acked-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lkml.kernel.org/r/20200420100615.1549804-1-christian.brauner@ubuntu.com
include/vdso/datapage.h