On 19/06/2019 19:13, Colin King wrote:
> From: Colin Ian King
>
> The right shift of unsigned int cpu_khz will overflow for large values
> of cpu_khz, so cast it to a long long before shifting it to avoid
> overvlow. For example, this can happen when cpu_khz is 4194305 (just
> less than 4.2 GHz)
From: Colin Ian King
The right shift of unsigned int cpu_khz will overflow for large values
of cpu_khz, so cast it to a long long before shifting it to avoid
overvlow. For example, this can happen when cpu_khz is 4194305 (just
less than 4.2 GHz). Also wrap line to avoid checkpatch wide line
war
2 matches
Mail list logo