Re: [PATCH] ics932s401: New driver

From: Darrick J. Wong
Date: Fri Nov 07 2008 - 14:50:59 EST


On Fri, Nov 07, 2008 at 11:31:42AM -0800, Andrew Morton wrote:
>
> These are nice-looking drivers and I'm inclined to slip them into
> 2.6.28, but..
>
> On Fri, 07 Nov 2008 11:11:10 -0800
> "Darrick J. Wong" <djwong@xxxxxxxxxx> wrote:
>
> > +/* Addresses to scan */
> > +static const unsigned short normal_i2c[] = { 0x69, I2C_CLIENT_END };
>
> These are the sorts of drivers which must go blindly poking at
> hardwired IO addresses, aren't they? So if someone accidentally
> compiles it up and loads it, it will reach out and fry their pr0n
> collection?

Yep. Alas, there's not a whole lot we can do about that, other than say
"insmodder beware". Were it a hwmon driver, we could blacklist it in
sensors-detct, but Jean already NAK'd it for hwmon. I plan to stick to
the DMI whitelist and add a DMI blacklist if necessary.

Of course, if you're really intent upon frying (someone else's) pr0n
collection... this chip can help with that.

--D
--
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/