diff options
| author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-07-08 15:59:57 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-05-02 20:58:34 +0200 |
| commit | 0deaaafa5e17afebd21198beaa1b053211685488 (patch) | |
| tree | d92473c46465fb931ea4eded4a98e0691bfb5a25 /include/linux/moduleloader.h | |
| parent | d4d4571d7f11d5435605c09e9c3ce6d14f11a078 (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>
Change-Id: I8487b08f9b8557dde0c685b263ff066384b0750e
(cherry picked from commit 5208b5405b8d725d5d74d4734d2ee8ba8896843a)
Diffstat (limited to 'include/linux/moduleloader.h')
0 files changed, 0 insertions, 0 deletions
