aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/vmalloc.h
diff options
context:
space:
mode:
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>2013-07-08 15:59:57 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 10:33:21 -0700
commit46c001a2753f47ffa621131baa3409e636515347 (patch)
treeb7e7f11f58f6d8ffacba6c36c09700a2d98632e9 /include/linux/vmalloc.h
parentmm/vmalloc.c: remove alloc_map from vmap_block (diff)
downloadlinux-dev-46c001a2753f47ffa621131baa3409e636515347.tar.xz
linux-dev-46c001a2753f47ffa621131baa3409e636515347.zip
mm/vmalloc.c: emit the failure message before return
Use goto to jump to the fail label to give a failure message before returning NULL. This makes the failure handling in this function consistent. Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/vmalloc.h')
0 files changed, 0 insertions, 0 deletions