commit | 7f7880495770329d095d402c2865bfa7089192f8 | [log] [tgz] |
---|---|---|
author | Pu Lehui <pulehui@huawei.com> | Thu Jan 05 11:50:26 2023 +0800 |
committer | Martin KaFai Lau <martin.lau@kernel.org> | Tue Jan 10 15:53:22 2023 -0800 |
tree | 15414e802fce1626b36d458eeceb1d27f0b4e5aa | |
parent | 129d868ede1ea835ac97f0a9f2cf3f4ed00d8ea7 [diff] |
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>