summaryrefslogtreecommitdiff
path: root/arch/um/kernel/process.c
diff options
context:
space:
mode:
authorDuoming Zhou <duoming@zju.edu.cn>2024-03-06 12:12:59 +0300
committerRichard Weinberger <richard@nod.at>2024-04-22 22:38:23 +0300
commit31a5990ed253a66712d7ddc29c92d297a991fdf2 (patch)
tree03be64d613c2619918313c77e8942079781235b3 /arch/um/kernel/process.c
parented30a4a51bb196781c8058073ea720133a65596f (diff)
downloadlinux-31a5990ed253a66712d7ddc29c92d297a991fdf2.tar.xz
um: Fix return value in ubd_init()
When kmalloc_array() fails to allocate memory, the ubd_init() should return -ENOMEM instead of -1. So, fix it. Fixes: f88f0bdfc32f ("um: UBD Improvements") Signed-off-by: Duoming Zhou <duoming@zju.edu.cn> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel/process.c')
0 files changed, 0 insertions, 0 deletions