提交 e2a9cf96 编写于 作者: R Raghu Gandham 提交者: Ralf Baechle

MIPS: VPE: Fix compiler warning.

Signed-off-by: NRaghu Gandham <raghu@mips.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 6f9fdeb6
......@@ -327,7 +327,8 @@ static void layout_sections(struct module *mod, const Elf_Ehdr * hdr,
|| (s->sh_flags & masks[m][1])
|| s->sh_entsize != ~0UL)
continue;
s->sh_entsize = get_offset(&mod->core_size, s);
s->sh_entsize =
get_offset((unsigned long *)&mod->core_size, s);
}
if (m == 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册