commit | 46c001a2753f47ffa621131baa3409e636515347 | [log] [tgz] |
---|---|---|
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | Mon Jul 08 15:59:57 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jul 09 10:33:21 2013 -0700 |
tree | b7e7f11f58f6d8ffacba6c36c09700a2d98632e9 | |
parent | b8e748b6c32999f221ea4786557b8e7e6c4e4e7a [diff] |
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>