mm/vmalloc.c: check kmalloc() return value
authorKulikov Vasiliy <segooon@gmail.com>
Tue, 10 Aug 2010 00:19:58 +0000 (17:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:03 +0000 (20:45 -0700)
commit51980ac9e72fb5f22c81b7798d65b691125d70ee
treefc12938848882bd76f7420f28d723056d9e5518e
parentcc8e970c3ce4d98afa8eb02dbd2526ce57f7611a
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>
mm/vmalloc.c