]> www.infradead.org Git - users/jedix/linux-maple.git/commit
um: ubd: Add missing error check in start_io_thread()
authorTiwei Bie <tiwei.btw@antgroup.com>
Fri, 6 Jun 2025 12:44:25 +0000 (20:44 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 25 Jun 2025 07:25:49 +0000 (09:25 +0200)
commitc55c7a85e02a7bfee20a3ffebdff7cbeb41613ef
tree30255cc113c4cd86abce5ac45b81dd472d765835
parent86731a2a651e58953fc949573895f2fa6d456841
um: ubd: Add missing error check in start_io_thread()

The subsequent call to os_set_fd_block() overwrites the previous
return value. OR the two return values together to fix it.

Fixes: f88f0bdfc32f ("um: UBD Improvements")
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20250606124428.148164-2-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/drivers/ubd_user.c