aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2018-04-18 15:55:58 -0700
committerDaniel Borkmann <[email protected]>2018-04-19 21:46:24 +0200
commiteb3f595dab40b61011c5f123507a7db2df6f0e65 (patch)
tree38e84dcbcb898acfe6208b3cdbab5fbb8546dd40 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent69b693f0aefa0ed521e8bd02260523b5ae446ad7 (diff)
bpf: btf: Validate type reference
After collecting all btf_type in the first pass in an earlier patch, the second pass (in this patch) can validate the reference types (e.g. the referring type does exist and it does not refer to itself). While checking the reference type, it also gathers other information (e.g. the size of an array). This info will be useful in checking the struct's members in a later patch. They will also be useful in doing pretty print later. Signed-off-by: Martin KaFai Lau <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions