summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorEduard Zingerman <eddyz87@gmail.com>2024-12-10 07:10:54 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-12-10 21:24:57 +0300
commitb238e187b4a2d3b54d80aec05a9cab6466b79dde (patch)
treee2118335dc7d6aabf72b8a171eb448119278cbbe /drivers/fpga/fpga-mgr.c
parent27e88bc4df1d80888fe1aaca786a7cc6e69587e2 (diff)
downloadlinux-b238e187b4a2d3b54d80aec05a9cab6466b79dde.tar.xz
bpf: refactor bpf_helper_changes_pkt_data to use helper number
Use BPF helper number instead of function pointer in bpf_helper_changes_pkt_data(). This would simplify usage of this function in verifier.c:check_cfg() (in a follow-up patch), where only helper number is easily available and there is no real need to lookup helper proto. Signed-off-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20241210041100.1898468-3-eddyz87@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions