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
Merge tag 'mm-hotfixes-stable-2022-12-10-1' of git://git.kernel.org/pub/scm/linux...
[platform/kernel/linux-starfive.git]
/
lib
/
test_kprobes.c
diff --git
a/lib/test_kprobes.c
b/lib/test_kprobes.c
index
a5edc2e
..
eeb1d72
100644
(file)
--- a/
lib/test_kprobes.c
+++ b/
lib/test_kprobes.c
@@
-341,7
+341,7
@@
static int kprobes_test_init(struct kunit *test)
stacktrace_driver = kprobe_stacktrace_driver;
do {
- rand1 =
p
random_u32();
+ rand1 =
get_
random_u32();
} while (rand1 <= div_factor);
return 0;
}