diff options
author | Eric Long <[email protected]> | 2024-10-02 14:25:06 +0800 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-10-07 20:28:53 -0700 |
commit | 4b146e95da87bf0fe64502aaafebeb622dfff653 (patch) | |
tree | 5f74161e77ebbea223695504e7a62bdbab29b194 /drivers/fpga/xilinx-selectmap.c | |
parent | c50fc1cbfd71dcb1d70fd593b2af7c92af465921 (diff) |
libbpf: Do not resolve size on duplicate FUNCs
FUNCs do not have sizes, thus currently btf__resolve_size will fail
with -EINVAL. Add conditions so that we only update size when the BTF
object is not function or function prototype.
Signed-off-by: Eric Long <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions