diff options
| author | Chenghao Duan <[email protected]> | 2025-08-05 11:00:18 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2025-08-05 11:00:18 +0000 |
| commit | ed1a1fe6ec5e73b23b310b434ace07d1e5060657 (patch) | |
| tree | a83cf1bcc945db261fd800f0fef3030afa8f4338 /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c | |
| parent | LoongArch: Add larch_insn_gen_{beq,bne} helpers (diff) | |
| download | kernel-ed1a1fe6ec5e73b23b310b434ace07d1e5060657.tar.gz kernel-ed1a1fe6ec5e73b23b310b434ace07d1e5060657.zip | |
LoongArch: BPF: Rename and refactor validate_code()
1. Rename the existing validate_code() to validate_ctx()
2. Factor out the code validation handling into a new helper
validate_code()
Then:
* validate_code() is used to check the validity of code.
* validate_ctx() is used to check both code validity and table entry
correctness.
The new validate_code() will be used in subsequent changes.
Reviewed-by: Hengqi Chen <[email protected]>
Co-developed-by: George Guo <[email protected]>
Signed-off-by: George Guo <[email protected]>
Signed-off-by: Chenghao Duan <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions
