]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
um: Use err consistently in userspace()
authorTiwei Bie <tiwei.btw@antgroup.com>
Fri, 11 Jul 2025 06:50:19 +0000 (14:50 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Sun, 13 Jul 2025 17:42:49 +0000 (19:42 +0200)
commitcba737fa595f076f4b11df045d74bf6dfbc8db2f
tree0fa4b1d9fa3c62f16df066c27e52d3fb52e085a4
parent8129b9e8e32cb1a8976bbe5d7d14f215639758d2
um: Use err consistently in userspace()

Avoid declaring a new variable 'ret' inside the 'if (using_seccomp)'
block, as the existing 'err' variable declared at the top of the
function already serves the same purpose.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20250711065021.2535362-2-tiwei.bie@linux.dev
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/os-Linux/skas/process.c