projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use get_random_bytes() when possible
[platform/kernel/linux-starfive.git]
/
lib
/
uuid.c
diff --git
a/lib/uuid.c
b/lib/uuid.c
index
562d539
..
e309b4c
100644
(file)
--- a/
lib/uuid.c
+++ b/
lib/uuid.c
@@
-52,7
+52,7
@@
EXPORT_SYMBOL(generate_random_guid);
static void __uuid_gen_common(__u8 b[16])
{
-
p
random_bytes(b, 16);
+
get_
random_bytes(b, 16);
/* reversion 0b10 */
b[8] = (b[8] & 0x3F) | 0x80;
}