[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1301031040320.1989@hadrien>
Date: Thu, 3 Jan 2013 11:20:52 +0100 (CET)
From: Julia Lawall <julia.lawall@...6.fr>
To: davem@...emloft.net, richardcochran@...il.com, tony@...mide.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: clk dereference in drivers/net/ethernet/ti/cpts.c
There has been a discussion recently about how the result of get_clk
should be an opaque handle, not a value that can be dereferenced:
https://lkml.org/lkml/2012/12/20/105
There is such a dereference in drivers/net/ethernet/ti/cpts.c, in the
function cpts_clk_init:
cpts->freq = cpts->refclk->recalc(cpts->refclk);
It was not obvious to me, however, what API function should be used
instead, so I am just reporting the (potential) problem.
thanks,
julia
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists