diff options
| author | Daniel Borkmann <[email protected]> | 2022-01-10 14:05:49 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-01-19 01:21:24 +0100 |
| commit | be80a1d3f9dbe5aee79a325964f7037fe2d92f30 (patch) | |
| tree | a3e887f6a5df46e96f185bd4f27aee1c3e28496f /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | 343e53754b21ae45530623222aa079fecd3cf942 (diff) | |
bpf: Generalize check_ctx_reg for reuse with other types
Generalize the check_ctx_reg() helper function into a more generic named one
so that it can be reused for other register types as well to check whether
their offset is non-zero. No functional change.
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions