From: Josh Law <hlcj1234567@gmail.com>
To: andriy.shevchenko@linux.intel.com, akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, Josh Law <objecting@objecting.org>
Subject: [PATCH] lib/uuid: fix typo "reversion" to "revision" in comment
Date: Fri, 6 Mar 2026 16:12:50 +0000 [thread overview]
Message-ID: <20260306161250.2811500-1-objecting@objecting.org> (raw)
Fix a typo in __uuid_gen_common() where "reversion" (meaning to revert)
was used instead of "revision" when describing the UUID variant field.
Signed-off-by: Josh Law <objecting@objecting.org>
---
lib/uuid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/uuid.c b/lib/uuid.c
index e8543c668dc7..128a51f1879b 100644
--- a/lib/uuid.c
+++ b/lib/uuid.c
@@ -54,7 +54,7 @@ EXPORT_SYMBOL(generate_random_guid);
static void __uuid_gen_common(__u8 b[16])
{
get_random_bytes(b, 16);
- /* reversion 0b10 */
+ /* revision 0b10 */
b[8] = (b[8] & 0x3F) | 0x80;
}
--
2.43.0
next reply other threads:[~2026-03-06 16:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 16:12 Josh Law [this message]
2026-03-06 19:00 ` [PATCH] lib/uuid: fix typo "reversion" to "revision" in comment Andy Shevchenko
2026-03-06 19:03 ` Josh Law
2026-03-06 19:07 ` Andy Shevchenko
2026-03-06 19:15 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260306161250.2811500-1-objecting@objecting.org \
--to=hlcj1234567@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=objecting@objecting.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.