Thread (2 messages) flat view 2 messages, 2 authors, 2012-06-12

[PATCH] clk: Check parent for NULL in clk_change_rate

From: Mike Turquette <hidden>
Date: 2012-06-12 22:18:29
Also in: lkml

On 20120608-14:04, Pawel Moll wrote:
clk_change_rate() is accessing parent's rate without checking
if the parent exists at all. In case of root clocks this will
cause NULL pointer dereference.

This patch follows what clk_calc_new_rates() does in such
situation.

Signed-off-by: Pawel Moll <redacted>
Pawel,

This problem is indeed a real one.  I've taken your patch into clk-next
for testing.

Thanks much,
Mike
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help