diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-08-09 17:19:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-09 20:45:03 -0700 |
commit | 51980ac9e72fb5f22c81b7798d65b691125d70ee (patch) | |
tree | fc12938848882bd76f7420f28d723056d9e5518e /mm/vmscan.c | |
parent | cc8e970c3ce4d98afa8eb02dbd2526ce57f7611a (diff) | |
download | op-kernel-dev-51980ac9e72fb5f22c81b7798d65b691125d70ee.zip op-kernel-dev-51980ac9e72fb5f22c81b7798d65b691125d70ee.tar.gz |
mm/vmalloc.c: check kmalloc() return value
kmalloc() may fail, if so return -ENOMEM.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions