aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2016-11-16 00:29:40 +0000
committerKees Cook <[email protected]>2016-11-16 00:34:32 +0000
commitfc46d4e453f50d2b376267f180cae250b54f9fb4 (patch)
tree2c300b1bb28fe0aba34a6b0b0c2ab1fed8e2b3d5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentpstore: Convert console write to use ->write_buf (diff)
downloadkernel-fc46d4e453f50d2b376267f180cae250b54f9fb4.tar.gz
kernel-fc46d4e453f50d2b376267f180cae250b54f9fb4.zip
ramoops: add pdata NULL check to ramoops_probe
This adds a check for a NULL platform data, which should only be possible if a driver incorrectly sets up a probe request without also having defined the platform_data structure. This is based on a patch from Geliang Tang. Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions