Eduardo, Rui,
On Tue, Dec 01, 2015 at 03:15:23PM +0000, Javi Merino wrote:
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 <redacted>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Javi Merino <redacted>
---
drivers/thermal/power_allocator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Any comments on this? If not, can it be merged?
Thanks,
Javi