Skip to content
Commit 7f788049 authored by Pu Lehui's avatar Pu Lehui Committed by Martin KaFai Lau
Browse files

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: default avatarPu Lehui <pulehui@huawei.com>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20230105035026.3091988-1-pulehui@huaweicloud.com
Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parent 129d868e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment