提交 f54450ad 编写于 作者: K Kees Cook 提交者: Greg Kroah-Hartman

console: Drop added "static" for newport_con

Commit 4fe505119778 ("console: Expand dummy functions for CFI") accidentally
added "static" to newport_con instance of struct consw, while trying to
normalize the declarations. This, however, needed to stay non-static as it
has an extern.
Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
Fixes: 4fe505119778 ("console: Expand dummy functions for CFI")
Signed-off-by: NKees Cook <keescook@chromium.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 c396a5bf
......@@ -680,7 +680,7 @@ static int newport_set_origin(struct vc_data *vc)
static void newport_save_screen(struct vc_data *vc) { }
static const struct consw newport_con = {
const struct consw newport_con = {
.owner = THIS_MODULE,
.con_startup = newport_startup,
.con_init = newport_init,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册