Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lib/uuid: fix typo "reversion" to "revision" in comment

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>

authored by

Josh Law and committed by
Andrew Morton
e54f7f67 8e451330

+1 -1
+1 -1
lib/uuid.c
··· 54 54 static void __uuid_gen_common(__u8 b[16]) 55 55 { 56 56 get_random_bytes(b, 16); 57 - /* reversion 0b10 */ 57 + /* revision 0b10 */ 58 58 b[8] = (b[8] & 0x3F) | 0x80; 59 59 } 60 60