diff options
| author | Yonghong Song <yonghong.song@linux.dev> | 2026-08-18 22:52:44 -0700 |
|---|---|---|
| committer | Eduard Zingerman <eddyz87@gmail.com> | 2026-08-21 10:40:04 -0700 |
| commit | da13c047cda6ef1bbc9355adb040d5b4eecea710 (patch) | |
| tree | 24293b81edefe36d213e93e28c53c4bff5c8d921 /scripts/Makefile.thinlto | |
| parent | 4191e4932083091534573c20ceed517d8dd480c1 (diff) | |
| download | linux-next-da13c047cda6ef1bbc9355adb040d5b4eecea710.tar.gz linux-next-da13c047cda6ef1bbc9355adb040d5b4eecea710.zip | |
bpf: Factor check_global_ret_scalar_reg() out of the global return check
check_global_subprog_return_code() verifies that a global subprogram
returns void, an arena pointer, or register R0 holding a scalar value.
Later patches in this series add 16-byte aggregate return support, whose
second half is returned in R2 and needs the same validation.
Factor the per-register check into check_global_ret_scalar_reg(env, regno)
so that it can be reused for R2. No functional change.
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://patch.msgid.link/20260819055244.3294700-1-yonghong.song@linux.dev
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
