aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJavi Merino <[email protected]>2016-04-06 18:30:18 +0000
committerEduardo Valentin <[email protected]>2016-04-20 23:22:45 +0000
commitf9d038144a171d42e057143b247ff7a12a5b06f5 (patch)
treef369a61f4a975566158427a691cc509e6d3e9cb2 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentthermal: of: add __init attribute (diff)
downloadkernel-f9d038144a171d42e057143b247ff7a12a5b06f5.tar.gz
kernel-f9d038144a171d42e057143b247ff7a12a5b06f5.zip
thermal: power_allocator: req_range multiplication should be a 64 bit type
req_range is declared as a u64 to cope with overflows in the multiplication of two u32. As both req_power and power_range are u32, we need to make sure the multiplication is done with u64 types. Reported-by: Dan Carpenter <[email protected]> Cc: Zhang Rui <[email protected]> Cc: Eduardo Valentin <[email protected]> Signed-off-by: Javi Merino <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions