aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/s390/kernel/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/module.c b/arch/s390/kernel/module.c
index f750bd7bd2c2..7845e15a17df 100644
--- a/arch/s390/kernel/module.c
+++ b/arch/s390/kernel/module.c
@@ -222,7 +222,7 @@ static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab,
222 struct mod_arch_syminfo *info; 222 struct mod_arch_syminfo *info;
223 Elf_Addr loc, val; 223 Elf_Addr loc, val;
224 int r_type, r_sym; 224 int r_type, r_sym;
225 int rc; 225 int rc = -ENOEXEC;
226 226
227 /* This is where to make the change */ 227 /* This is where to make the change */
228 loc = base + rela->r_offset; 228 loc = base + rela->r_offset;