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
misc: genwqe: Rudimentary typo fixes
[linux-2.6-microblaze.git]
/
mm
/
slab.c
diff --git
a/mm/slab.c
b/mm/slab.c
index
51fd424
..
ae651bf
100644
(file)
--- a/
mm/slab.c
+++ b/
mm/slab.c
@@
-2992,7
+2992,7
@@
static void *cache_alloc_debugcheck_after(struct kmem_cache *cachep,
gfp_t flags, void *objp, unsigned long caller)
{
WARN_ON_ONCE(cachep->ctor && (flags & __GFP_ZERO));
- if (!objp)
+ if (!objp
|| is_kfence_address(objp)
)
return objp;
if (cachep->flags & SLAB_POISON) {
check_poison_obj(cachep, objp);