Skip to content
Commit 71d965cf authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

modpost: pass r_type to addend_*_rel()



All of addend_*_rel() need the Elf_Rela pointer just for calculating
ELF_R_TYPE(r->r_info).

You can do it on the caller to de-duplicate the code.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent a68914a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment