diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-10-09 10:30:34 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-09 13:28:47 -0700 |
commit | 0d5d1aadc8e299874a6a014d65b6bb903b12424d (patch) | |
tree | dedab8048ff8a62cdbc879960ff994f2b1856368 /mm/shmem.c | |
parent | c1bcd6b327a0c0d5077eb158a600947aac7d124a (diff) | |
download | op-kernel-dev-0d5d1aadc8e299874a6a014d65b6bb903b12424d.zip op-kernel-dev-0d5d1aadc8e299874a6a014d65b6bb903b12424d.tar.gz |
kmemleak: Check for NULL pointer returned by create_object()
This patch adds NULL pointer checking in the early_alloc() function.
Reported-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions