Skip to contentSkip to conversation

Fixed typo in comments

PATCH In review Semen Zhydenko 2 participants 5 messages Jan 16, 2023 – Jan 19, 2023 1 message not in the archive High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fixed typo in comments

kernel/time/timer.c +1 -1
index 63a8ce7177dd..6430c00b05a9 100644
@@ -1324,7 +1324,7 @@ static int __timer_delete(struct timer_list *timer, bool shutdown)
 	 * If @shutdown is set then the lock has to be taken whether the
 	 * timer is pending or not to protect against a concurrent rearm
 	 * which might hit between the lockless pending check and the lock
-	 * aquisition. By taking the lock it is ensured that such a newly
+	 * acquisition. By taking the lock it is ensured that such a newly
 	 * enqueued timer is dequeued and cannot end up with
 	 * timer->function == NULL in the expiry code.
 	 *
Signature · 1 line
2.37.1 (Apple Git-137.1)
#1 lore raw

kernel/time/timer.c static int __timer_delete(struct timer_list *timer, bool shutdown) · line 1330

Quoted 13 lines · Semen Zhydenko
kernel/time/timer.c +1 -1
index 63a8ce7177dd..6430c00b05a9 100644
@@ -1324,7 +1324,7 @@ static int __timer_delete(struct timer_list *timer, bool shutdown)
 	 * If @shutdown is set then the lock has to be taken whether the
 	 * timer is pending or not to protect against a concurrent rearm
 	 * which might hit between the lockless pending check and the lock
-	 * aquisition. By taking the lock it is ensured that such a newly
+	 * acquisition. By taking the lock it is ensured that such a newly
 	 * enqueued timer is dequeued and cannot end up with
 	 * timer->function == NULL in the expiry code.
 	 *

No patch description, really?

Also please read Documentation/process/submitting-patches.rst for how to properly submit kernel patches.

Signature · 1 line
An old man doll... just what I always wanted! - Clara

A message that is not in the archive (sent off-list or not yet received): CACbEQFHP90RYNEBGP5jvPNVYciuiUwA7G0Gp9_8KAKc4-hgUTA@mail.gmail.com

#3 lore raw
Quoted 2 lines · Semen Zhydenko

Thank you for review, will try to update my patch/email accordingly

Please do not top-post, let alone sending HTML email (like this one), as mailing lists (like LKML) don't like HTML emails for often being used in spam. Reply inline with appropriate context and configure your mailer to write and send plain-text email instead.

Thanks anyway.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#4 lore raw

PATCH 1/1 Fixed typo in comments

In reply to Semen Zhydenko

To change one typo in kernel/time/timer.c
Typo is "aquisition" proper spelling should be "acquisition".

---
 kernel/time/timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/time/timer.c +1 -1
index 63a8ce7177dd..6430c00b05a9 100644
@@ -1324,7 +1324,7 @@ static int __timer_delete(struct timer_list *timer, bool shutdown)
 	 * If @shutdown is set then the lock has to be taken whether the
 	 * timer is pending or not to protect against a concurrent rearm
 	 * which might hit between the lockless pending check and the lock
-	 * aquisition. By taking the lock it is ensured that such a newly
+	 * acquisition. By taking the lock it is ensured that such a newly
 	 * enqueued timer is dequeued and cannot end up with
 	 * timer->function == NULL in the expiry code.
 	 *

--
2.37.1 (Apple Git-137.1)

#5 lore raw
Quoted 3 lines · Semen Zhydenko

To change one typo in kernel/time/timer.c
Typo is "aquisition" proper spelling should be "acquisition".

This is v2, isn't it? Don't forget to pass -v to git-format-path(1) to mark it as v2 patch.

I have also Cc'ed the relevant subsystem maintainers.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara