projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use get_random_u32() when possible
[linux-block.git]
/
drivers
/
nvme
/
common
/
auth.c
diff --git
a/drivers/nvme/common/auth.c
b/drivers/nvme/common/auth.c
index 04bd28f17dccea86d7e41ce4613beee1c268a191..d90e4f0c08b7b90201e745663d658afd61b21d57 100644
(file)
--- a/
drivers/nvme/common/auth.c
+++ b/
drivers/nvme/common/auth.c
@@
-23,7
+23,7
@@
u32 nvme_auth_get_seqnum(void)
mutex_lock(&nvme_dhchap_mutex);
if (!nvme_dhchap_seqnum)
- nvme_dhchap_seqnum =
p
random_u32();
+ nvme_dhchap_seqnum =
get_
random_u32();
else {
nvme_dhchap_seqnum++;
if (!nvme_dhchap_seqnum)