]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/vmalloc.c: emit the failure message before return
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Wed, 19 Jun 2013 00:06:58 +0000 (10:06 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:26:52 +0000 (17:26 +1000)
commitb006979ab81039f0d3adb6d13983fee1d3b6ba5c
tree891b7842012a66fdb810de39c9c146e7f954d242
parent139ef0f27a3f0e98fc303208aec835d5fae17f83
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>
mm/vmalloc.c