]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'migrate from bpf_prog_test_run{,_xattr}'
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 3 Feb 2022 06:31:19 +0000 (22:31 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 3 Feb 2022 06:31:19 +0000 (22:31 -0800)
commit2640b3f28addb68733d8f3ed4f2a084d0caa3aca
treee49d75e3c6c9b5a39972450a485ea8d5c1c1e081
parentdbf8f2005073a8bdae09ef504ee05dc5e66a7afc
parent734bdb5051a701ca776330c2e5104bc7b8597e1d
Merge branch 'migrate from bpf_prog_test_run{,_xattr}'

Delyan Kratunov says:

====================

Fairly straight-forward mechanical transformation from bpf_prog_test_run
and bpf_prog_test_run_xattr to the bpf_prog_test_run_opts goodness.

I did a fair amount of drive-by CHECK/CHECK_ATTR cleanups as well, though
certainly not everything possible. Primarily, I did not want to just change
arguments to CHECK calls, though I had to do a bit more than that
in some cases (overall, -119 CHECK calls and all CHECK_ATTR calls).

v2 -> v3:
Don't introduce CHECK_OPTS, replace CHECK/CHECK_ATTR usages we need to touch
with ASSERT_* calls instead.
Don't be prescriptive about the opts var name and keep old names where that would
minimize unnecessary code churn.
Drop _xattr-specific checks in prog_run_xattr and rename accordingly.

v1 -> v2:
Split selftests/bpf changes into two commits to appease the mailing list.
====================

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>