]> 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)
commitfd883138e464c56b131fdb0d39eeb9ae5023fa0c
tree10670baa305a1795aac492a92800ac3b33bccc69
parent9b3ba36095d0fe4ace7a94fa411734a70b2bcbe8
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
c673f19b2f61 ("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
3eac81857510 ("lib/vdso: Move VCLOCK_TIMENS to vdso_clock_modes").

Update the comment to use VDSO_CLOCKMODE_TIMENS.

Fixes: c673f19b2f61 ("lib/vdso: Prepare for time namespace support")
Fixes: 3eac81857510 ("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