]> git.hungrycats.org Git - linux/commit
um: Fix the return value of elf_core_copy_task_fpregs
authorTiwei Bie <tiwei.btw@antgroup.com>
Fri, 13 Sep 2024 02:33:02 +0000 (10:33 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 10 Oct 2024 10:02:40 +0000 (12:02 +0200)
commit865e3845eeaa21e9a62abc1361644e67124f1ec0
tree440f77e413e105a33ce05d98e1ca74522b199399
parent242fef3610e3a38c53781d4d81d8e779021c0af5
um: Fix the return value of elf_core_copy_task_fpregs

This function is expected to return a boolean value, which should be
true on success and false on failure.

Fixes: d1254b12c93e ("uml: fix x86_64 core dump crash")
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20240913023302.130300-1-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/kernel/process.c