diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2016-04-05 09:29:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 00:46:00 (GMT) |
commit | 16f10a825da5b9361ef8e8da76720c37f0116da4 (patch) | |
tree | ba2672ec6d79d0f58a2f99884e336c6be6732f71 /mm/userfaultfd.c | |
parent | 6b3752d8ce67dc62150db9d153e72c7a98db4007 (diff) | |
download | linux-16f10a825da5b9361ef8e8da76720c37f0116da4.tar.xz |
staging: dgnc: return -ENOMEM when kzalloc failed
The kzalloc can be failed when memory is not enough
to allocate. When kzalloc failed, it need to return
error code with ENOMEM
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions