[GIT PULL] SPEAr clk updates for v-3.5

Russell King - ARM Linux linux at arm.linux.org.uk
Thu May 10 11:53:27 EDT 2012


On Thu, May 10, 2012 at 11:37:47PM +0800, Shawn Guo wrote:
> On Thu, May 10, 2012 at 09:59:39AM +0100, Russell King - ARM Linux wrote:
> > On Thu, May 10, 2012 at 12:14:39AM -0700, Olof Johansson wrote:
> > > Russell has published a clkdev branch that you pull instead of
> > > applying his patch manually, that way there will be no surprises with
> > > respect to conflicts, etc:
> > > 
> > > git://ftp.arm.linux.org.uk/~rmk/linux-next.git clkdev
> > > 
> > > It is also in arm-soc as depends/rmk/clkdev now.
> > 
> > I'll mention that I'm considering a patch on top of this to add __must_check
> > to the return values for these clkdev clk registration functions.  I've
> > noticed that many users aren't checking that, so there's no real way to
> > be sure that these things are being created.
> > 
> I have to admit I'm one of such users.  Does that mean we have to
> revise the platform porting again?  So ...
> 
> > The alternative is we make these functions void and/or add pr_err() inside
> > them to report the failures.
> > 
> ... I'd vote for this alternative.  (Sorry for users that are checking
> the return right now.  Any?)

It's one reason why I mentioned it in this email, to find out how folk
would like to deal with this.  I have no particular preference as to how
it gets addressed, just as long as we don't end up with silent failures
causing hard to debug problems.



More information about the linux-arm-kernel mailing list