projects
/
linux
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'omap-for-v4.14/fixes' into omap-for-v4.15/fixes-v2
[linux]
/
lib
/
test_kasan.c
diff --git
a/lib/test_kasan.c
b/lib/test_kasan.c
index
a25c976
..
ef1a3ac
100644
(file)
--- a/
lib/test_kasan.c
+++ b/
lib/test_kasan.c
@@
-353,10
+353,9
@@
static noinline void __init memcg_accounted_kmem_cache(void)
*/
for (i = 0; i < 5; i++) {
p = kmem_cache_alloc(cache, GFP_KERNEL);
- if (!p) {
- pr_err("Allocation failed\n");
+ if (!p)
goto free_cache;
- }
+
kmem_cache_free(cache, p);
msleep(100);
}