aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorEduardo Valentin <[email protected]>2016-11-08 05:09:25 +0000
committerZhang Rui <[email protected]>2016-11-23 02:06:12 +0000
commit95e3ed1513494aa2d0aaba7a99fb7aa8b51dcfc8 (patch)
tree15319f30bef7d11b39b0d2c5f657cd505149d499 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentthermal: core: improve kerneldoc entry of thermal_cooling_device_unregister (diff)
downloadkernel-95e3ed1513494aa2d0aaba7a99fb7aa8b51dcfc8.tar.gz
kernel-95e3ed1513494aa2d0aaba7a99fb7aa8b51dcfc8.zip
thermal: core: use kzalloc(sizeof(*ptr),...)
As a safety check, this patch changes thermal core to check for pointer content size, instead of type size, while allocating memory. Cc: Zhang Rui <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Eduardo Valentin <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions