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]
/
kernel
/
bpf
/
bloom_filter.c
diff --git
a/kernel/bpf/bloom_filter.c
b/kernel/bpf/bloom_filter.c
index b9ea539a556141034397bed047f7a3c9fdfeef0d..48ee750849f25772ebe7f5cc325be53c509b33b0 100644
(file)
--- a/
kernel/bpf/bloom_filter.c
+++ b/
kernel/bpf/bloom_filter.c
@@
-158,7
+158,7
@@
static struct bpf_map *bloom_map_alloc(union bpf_attr *attr)
attr->value_size / sizeof(u32);
if (!(attr->map_flags & BPF_F_ZERO_SEED))
- bloom->hash_seed = get_random_
int
();
+ bloom->hash_seed = get_random_
u32
();
return &bloom->map;
}