diff options
Diffstat (limited to 'arch/s390/kernel/module.c')
-rw-r--r-- | arch/s390/kernel/module.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/kernel/module.c b/arch/s390/kernel/module.c index 06f17311628a..f750bd7bd2c2 100644 --- a/arch/s390/kernel/module.c +++ b/arch/s390/kernel/module.c | |||
@@ -234,6 +234,9 @@ static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, | |||
234 | val = symtab[r_sym].st_value; | 234 | val = symtab[r_sym].st_value; |
235 | 235 | ||
236 | switch (r_type) { | 236 | switch (r_type) { |
237 | case R_390_NONE: /* No relocation. */ | ||
238 | rc = 0; | ||
239 | break; | ||
237 | case R_390_8: /* Direct 8 bit. */ | 240 | case R_390_8: /* Direct 8 bit. */ |
238 | case R_390_12: /* Direct 12 bit. */ | 241 | case R_390_12: /* Direct 12 bit. */ |
239 | case R_390_16: /* Direct 16 bit. */ | 242 | case R_390_16: /* Direct 16 bit. */ |