diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-06-20 15:05:21 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-06-25 17:12:20 +0300 |
commit | 8e86ebefdd5ca15458fcb3a03da89ab9cad6382b (patch) | |
tree | faba256667adb429ecdd19b093715ae1545774d3 /fs/ubifs/sysfs.c | |
parent | 8aa00e2c3da470c82148f64b6a3cac2d79bb9d16 (diff) | |
download | linux-8e86ebefdd5ca15458fcb3a03da89ab9cad6382b.tar.xz |
modpost: continue even with unknown relocation type
Currently, unknown relocation types are just skipped.
The value of r_addend is only needed to get the symbol name in case
is_valid_name(elf, sym) returns false.
Even if we do not know how to calculate r_addend, we should continue.
At worst, we will get "(unknown)" as the symbol name, but it is better
than failing to detect section mismatches.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'fs/ubifs/sysfs.c')
0 files changed, 0 insertions, 0 deletions