* [PATCH] Fix compiler warning in vpe.c
@ 2009-07-10 9:01 Raghu Gandham
2009-08-05 1:30 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Raghu Gandham @ 2009-07-10 9:01 UTC (permalink / raw)
To: linux-mips; +Cc: raghu, chris
Signed-off-by: Raghu Gandham (raghu@mips.com)
---
arch/mips/kernel/vpe.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c
index 07b9ec2..3d4ef84 100644
--- a/arch/mips/kernel/vpe.c
+++ b/arch/mips/kernel/vpe.c
@@ -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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix compiler warning in vpe.c
2009-07-10 9:01 [PATCH] Fix compiler warning in vpe.c Raghu Gandham
@ 2009-08-05 1:30 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-08-05 1:30 UTC (permalink / raw)
To: Raghu Gandham; +Cc: linux-mips, chris
On Fri, Jul 10, 2009 at 02:01:32AM -0700, Raghu Gandham wrote:
Applied. Thanks,
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-05 1:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-10 9:01 [PATCH] Fix compiler warning in vpe.c Raghu Gandham
2009-08-05 1:30 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).