mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kernel/time.c: Mundane typo fixes
@ 2021-03-25  8:22 Bhaskar Chowdhury
  0 siblings, 0 replies; only message in thread
From: Bhaskar Chowdhury @ 2021-03-25  8:22 UTC (permalink / raw)
  To: john.stultz, tglx, sboyd, linux-kernel; +Cc: rdunlap, Bhaskar Chowdhury

s/boundries/boundaries/
s/compat/compact/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 kernel/time/time.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/time/time.c b/kernel/time/time.c
index 3985b2b32d08..ea6936302d84 100644
--- a/kernel/time/time.c
+++ b/kernel/time/time.c
@@ -571,7 +571,7 @@ EXPORT_SYMBOL(__usecs_to_jiffies);
 /*
  * The TICK_NSEC - 1 rounds up the value to the next resolution.  Note
  * that a remainder subtract here would not do the right thing as the
- * resolution values don't fall on second boundries.  I.e. the line:
+ * resolution values don't fall on second boundaries.  I.e. the line:
  * nsec -= nsec % TICK_NSEC; is NOT a correct resolution rounding.
  * Note that due to the small error in the multiplier here, this
  * rounding is incorrect for sufficiently large values of tv_nsec, but
@@ -790,7 +790,7 @@ int get_timespec64(struct timespec64 *ts,

 	ts->tv_sec = kts.tv_sec;

-	/* Zero out the padding in compat mode */
+	/* Zero out the padding in compact mode */
 	if (in_compat_syscall())
 		kts.tv_nsec &= 0xFFFFFFFFUL;

--
2.30.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-25  8:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25  8:22 [PATCH] kernel/time.c: Mundane typo fixes Bhaskar Chowdhury

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®