Re: Add LM82 support

From: Jean Delvare
Date: Fri Feb 17 2006 - 13:42:53 EST


Hi Jordan,

> On 17/02/06 13:09 +0000, Nick Warne wrote:
> > > + else if (kind = lm82) {
> > > + name = "lm82";
> > > + }
> >
> > Is that a '=' typo in the 'else if' there?
>
> Yep - thats what that would be. That must be my typo of the week, since
> I just had it in another driver I'm writing.

Given that gcc clearly warns on this kind of typo, how could it go
unnoticed?

--
Jean Delvare
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/