Thread (28 messages) 28 messages, 7 authors, 2012-06-12

Re: [PATCH RFC] c_can_pci: generic module for c_can on PCI

From: Federico Vaga <hidden>
Date: 2012-06-12 14:49:47
Also in: linux-can, lkml

quoted
+out_free_clock:
+	if (!priv->priv)
+		clk_put(priv->priv);
Why do you call clk_put on priv->priv, if priv->priv is NULL?
Right!

if(priv->priv)
    clk_put(priv->priv);

-- 
Federico Vaga
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help