]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 12:54:26 +0000 (13:54 +0100)
commitbe6291ebb511b2a984d107980252f8477e0b9fec
treee9d939335d4aa27e5b2d9da76bd539b58a02216a
parentd1a211e5210d31da8f49fc0021bf7129b726468c
um: Fix the return value of elf_core_copy_task_fpregs

[ Upstream commit 865e3845eeaa21e9a62abc1361644e67124f1ec0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/kernel/process.c