projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'akpm' (patches from Andrew)
[linux-2.6-microblaze.git]
/
mm
/
kfence
/
kfence_test.c
diff --git
a/mm/kfence/kfence_test.c
b/mm/kfence/kfence_test.c
index
eb6307c
..
f1690cf
100644
(file)
--- a/
mm/kfence/kfence_test.c
+++ b/
mm/kfence/kfence_test.c
@@
-800,6
+800,9
@@
static int test_init(struct kunit *test)
unsigned long flags;
int i;
+ if (!__kfence_pool)
+ return -EINVAL;
+
spin_lock_irqsave(&observed.lock, flags);
for (i = 0; i < ARRAY_SIZE(observed.lines); i++)
observed.lines[i][0] = '\0';