aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
diff options
context:
space:
mode:
authorJoonwon Kang <[email protected]>2019-07-27 15:58:41 +0000
committerKees Cook <[email protected]>2019-07-31 20:13:22 +0000
commit60f2c82ed20bde57c362e66f796cf9e0e38a6dbb (patch)
tree41cd23407429499f0c3fab1ed59e0cc566254f1a /drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
parentLinux 5.3-rc2 (diff)
downloadkernel-60f2c82ed20bde57c362e66f796cf9e0e38a6dbb.tar.gz
kernel-60f2c82ed20bde57c362e66f796cf9e0e38a6dbb.zip
randstruct: Check member structs in is_pure_ops_struct()
While no uses in the kernel triggered this case, it was possible to have a false negative where a struct contains other structs which contain only function pointers because of unreachable code in is_pure_ops_struct(). Signed-off-by: Joonwon Kang <[email protected]> Link: https://lore.kernel.org/r/20190727155841.GA13586@host Fixes: 313dd1b62921 ("gcc-plugins: Add the randstruct plugin") Cc: [email protected] Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c')
0 files changed, 0 insertions, 0 deletions