]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
lib/uuid: fix typo "reversion" to "revision" in comment
authorJosh Law <objecting@objecting.org>
Fri, 6 Mar 2026 16:12:50 +0000 (16:12 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 28 Mar 2026 04:19:41 +0000 (21:19 -0700)
Fix a typo in __uuid_gen_common() where "reversion" (meaning to revert)
was used instead of "revision" when describing the UUID variant field.

Link: https://lkml.kernel.org/r/20260306161250.2811500-1-objecting@objecting.org
Signed-off-by: Josh Law <objecting@objecting.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/uuid.c

index e8543c668dc71e0d1a2a03aec7975c560071093a..128a51f1879b6c5d7c1a3e86360a8c3091fc5dce 100644 (file)
@@ -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;
 }