Commit 683b96f
bpf: extract __check_reg_arg() utility function
Split check_reg_arg() into two utility functions:
- check_reg_arg() operating on registers from current verifier state;
- __check_reg_arg() operating on a specific set of registers passed as
a parameter;
The __check_reg_arg() function would be used by a follow-up change for
callbacks handling.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20231121020701.26440-5-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>1 parent f40bfd1 commit 683b96f
1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3439 | 3439 | | |
3440 | 3440 | | |
3441 | 3441 | | |
3442 | | - | |
3443 | | - | |
| 3442 | + | |
| 3443 | + | |
3444 | 3444 | | |
3445 | | - | |
3446 | | - | |
3447 | 3445 | | |
3448 | | - | |
| 3446 | + | |
3449 | 3447 | | |
3450 | 3448 | | |
3451 | 3449 | | |
| |||
3486 | 3484 | | |
3487 | 3485 | | |
3488 | 3486 | | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
| 3494 | + | |
| 3495 | + | |
3489 | 3496 | | |
3490 | 3497 | | |
3491 | 3498 | | |
| |||
9350 | 9357 | | |
9351 | 9358 | | |
9352 | 9359 | | |
9353 | | - | |
| 9360 | + | |
9354 | 9361 | | |
9355 | 9362 | | |
9356 | 9363 | | |
| |||
0 commit comments