Thread (1 message) 1 message, 1 author, 2012-10-16

Re: [PATCH] ARM: tegra30: clk: Fix output_rate overflow

From: Stephen Warren <hidden>
Date: 2012-10-16 17:29:13

On 10/16/2012 02:31 AM, Mark Zhang wrote:
Change the type of variable from "unsigned long" to "u64".
This avoids the overflow while clock rate calculating.
Thanks, applied to Tegra's for-3.7/fixes-for-rc2 branch.

Prashant, this same bug was found before in another round_rate() or
similar function, and I'd asked you to audit the entire Tegra clock
driver for any similar issues. Could you (and/or Mark) please take
another look at the entire driver to make sure we don't keep finding
this issue clock-by-clock. Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help