projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f9fdeb
)
MIPS: VPE: Fix compiler warning.
author
Raghu Gandham
<raghu@mips.com>
Fri, 10 Jul 2009 09:01:32 +0000
(
02:01
-0700)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 3 Aug 2009 16:52:48 +0000
(17:52 +0100)
Signed-off-by: Raghu Gandham <raghu@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/vpe.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/vpe.c
b/arch/mips/kernel/vpe.c
index 07b9ec2c6e3d04d1194a46a66e6783f2dcf0d29b..3d4ef841d82976a2ca3049c4f91a9ade95a99b51 100644
(file)
--- 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)