Skip to content

Commit

Permalink
MIPS: VPE: Fix compiler warning.
Browse files Browse the repository at this point in the history
Signed-off-by: Raghu Gandham <raghu@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Raghu Gandham authored and Ralf Baechle committed Aug 3, 2009
1 parent 6f9fdeb commit e2a9cf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/mips/kernel/vpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e2a9cf9

Please sign in to comment.