module: avoid *goto*s in module_sig_check()
stable inclusion from stable-5.10.26 commit e2c8978a75e0e13a911b7c9d6e2b3a490f1f24d8 bugzilla: 51363 -------------------------------- [ Upstream commit 10ccd1ab ] Let's move the common handling of the non-fatal errors after the *switch* statement -- this avoids *goto*s inside that *switch*... Suggested-by: NJoe Perches <joe@perches.com> Reviewed-by: NMiroslav Benes <mbenes@suse.cz> Signed-off-by: NSergey Shtylyov <s.shtylyov@omprussia.ru> Signed-off-by: NJessica Yu <jeyu@kernel.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: N Weilong Chen <chenweilong@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录