diff options
| author | Daniel Borkmann <[email protected]> | 2021-03-23 15:05:48 +0100 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-04-16 23:51:54 +0200 |
| commit | 073815b756c51ba9d8384d924c5d1c03ca3d1ae4 (patch) | |
| tree | 618347c5c7ee8cb2850bd11502863fa005a5a1f6 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | a6aaece00a57fa6f22575364b3903dfbccf5345d (diff) | |
bpf: Refactor and streamline bounds check into helper
Move the bounds check in adjust_ptr_min_max_vals() into a small helper named
sanitize_check_bounds() in order to simplify the former a bit.
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: John Fastabend <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions