Commit 46c001a2753f47ffa621131baa3409e636515347
Committed by
Linus Torvalds
1 parent
b8e748b6c3
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
mm/vmalloc.c