module: merge repetitive strings in module_sig_check()
The 'reason' variable in module_sig_check() points to 3 strings across the *switch* statement, all needlessly starting with the same text. Let's put the starting text into the pr_notice() call -- it saves 21 bytes of the object code (x86 gcc 10.2.1). 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>
Showing
想要评论请 注册 或 登录