[i2c] [patch 2.6.21-rc2-git +i2c-patches] i2c_register_driver() cleanup

Jean Delvare khali at linux-fr.org
Wed Mar 7 08:19:23 CET 2007


On Tue, 6 Mar 2007 12:01:39 -0800, David Brownell wrote:
> On Tuesday 06 March 2007 9:29 am, Jean Delvare wrote:
> 
> > Applied, thanks. Beware that said patch #6 has been discarded as it was
> > causing oops in some cases:
> > http://marc.theaimsgroup.com/?l=linux-kernel&m=117317869812339&w=2
> 
> I ran across that once too.  It's clear I saw a hardware glitch of some
> kind, so I didn't pursue it much, but I did notice the misbehavior after
> a driver->attach_adapter() failure ... followed later by oopsing.  That
> was without i2c-isa active, note.

Yes, any attach_adapter failure would trigger it. i2c-isa was just an
easy way to trigger it all the time.

> OK.  Note that your i2c-parport-optimize-size-patch also needs to
> stop using I2C_NAME_SIZE ...

Ah, good catch, thanks for pointing it out. Fixed.

-- 
Jean Delvare



More information about the i2c mailing list