diff options
author | Alan Maguire <alan.maguire@oracle.com> | 2024-06-20 10:17:28 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-06-21 14:45:07 -0700 |
commit | d1cf840854bb603c0718a011bc993f69f2df014e (patch) | |
tree | 00e35f54f2c4eab841b444bc7352d1aa682d917a /include/linux/module.h | |
parent | cd387ce54834bc7808082c471fd745ce85a0e21f (diff) |
libbpf: BTF relocation followup fixing naming, loop logic
Use less verbose names in BTF relocation code and fix off-by-one error
and typo in btf_relocate.c. Simplify loop over matching distilled
types, moving from assigning a _next value in loop body to moving
match check conditions into the guard.
Suggested-by: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/bpf/20240620091733.1967885-2-alan.maguire@oracle.com
Diffstat (limited to 'include/linux/module.h')
0 files changed, 0 insertions, 0 deletions