module: avoid *goto*s in module_sig_check()
authorSergey Shtylyov <s.shtylyov@omprussia.ru>
Sat, 31 Oct 2020 20:09:31 +0000 (23:09 +0300)
committerJessica Yu <jeyu@kernel.org>
Wed, 4 Nov 2020 14:31:28 +0000 (15:31 +0100)
commit10ccd1abb808599a6dc7c9389560016ea3568085
tree6e7e536540f65ff53e742fcb20dd0bface6e2563
parent705e9195187d85249fbb0eaa844b1604a98fbc9a
module: avoid *goto*s in module_sig_check()

Let's move the common handling of the non-fatal errors after the *switch*
statement -- this avoids *goto*s inside that *switch*...

Suggested-by: Joe Perches <joe@perches.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
kernel/module.c