diff options
| author | Eduard Zingerman <eddyz87@gmail.com> | 2025-07-04 16:03:47 -0700 | 
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-07-07 08:25:06 -0700 | 
| commit | b9d44bc9fd30550052d0854d71b0c0731dc9f053 (patch) | |
| tree | 95da8ecf8a91a4b91cfc66f10f813f65f023d208 /scripts/gdb/linux/vfs.py | |
| parent | 03fe01ddd1d8be7799419ea5e5f228a0186ae8c2 (diff) | |
bpf: make makr_btf_ld_reg return error for unexpected reg types
Non-functional change:
mark_btf_ld_reg() expects 'reg_type' parameter to be either
SCALAR_VALUE or PTR_TO_BTF_ID. Next commit expands this set, so update
this function to fail if unexpected type is passed. Also update
callers to propagate the error.
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250704230354.1323244-2-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/vfs.py')
0 files changed, 0 insertions, 0 deletions
