diff options
author | 2023-01-05 11:50:26 +0800 | |
---|---|---|
committer | 2023-01-10 15:53:22 -0800 | |
commit | 7f7880495770329d095d402c2865bfa7089192f8 (patch) | |
tree | 15414e802fce1626b36d458eeceb1d27f0b4e5aa /scripts/bpf_doc.py | |
parent | bpf: Replace 0-length arrays with flexible arrays (diff) | |
download | wireguard-linux-7f7880495770329d095d402c2865bfa7089192f8.tar.xz wireguard-linux-7f7880495770329d095d402c2865bfa7089192f8.zip |
bpf, x86: Simplify the parsing logic of structure parameters
Extra_nregs of structure parameters and nr_args can be
added directly at the beginning, and using a flip flag
to identifiy structure parameters. Meantime, renaming
some variables to make them more sense.
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20230105035026.3091988-1-pulehui@huaweicloud.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions