[PATCH] lib/uuid: fix typo "reversion" to "revision" in comment
From: Josh Law
Date: Fri Mar 06 2026 - 11:15:04 EST
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@xxxxxxxxxxxxx>
---
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