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

vdso/helpers: Fix grammar in comments

Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20240219153939.75719-2-anna-maria@linutronix.de

authored by

Anna-Maria Behnsen and committed by
Thomas Gleixner
eeb9f5c2 94bf12af

+4 -4
+4 -4
include/vdso/helpers.h
··· 30 30 static __always_inline void vdso_write_begin(struct vdso_data *vd) 31 31 { 32 32 /* 33 - * WRITE_ONCE it is required otherwise the compiler can validly tear 33 + * WRITE_ONCE() is required otherwise the compiler can validly tear 34 34 * updates to vd[x].seq and it is possible that the value seen by the 35 - * reader it is inconsistent. 35 + * reader is inconsistent. 36 36 */ 37 37 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); 38 38 WRITE_ONCE(vd[CS_RAW].seq, vd[CS_RAW].seq + 1); ··· 43 43 { 44 44 smp_wmb(); 45 45 /* 46 - * WRITE_ONCE it is required otherwise the compiler can validly tear 46 + * WRITE_ONCE() is required otherwise the compiler can validly tear 47 47 * updates to vd[x].seq and it is possible that the value seen by the 48 - * reader it is inconsistent. 48 + * reader is inconsistent. 49 49 */ 50 50 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); 51 51 WRITE_ONCE(vd[CS_RAW].seq, vd[CS_RAW].seq + 1);